On Tue, May 22, 2018 at 11:31:08PM -0400, Tom Lane wrote: > Bruce Momjian <br...@momjian.us> writes: > > On Fri, May 18, 2018 at 10:28:12AM -0400, Tom Lane wrote: > >> While we're all griping about omissions from the release notes ... > >> I think you should have documented that we fixed plpgsql to cope > >> (or cope better, at least) with intrasession changes in the rowtypes > >> of composite-type variables. > > > It was fixed in this commit, right? > > commit 4b93f57999a2ca9b9c9e573ea32ab1aeaa8bf496 > > That was the main one, anyway.
OK, added. Applied patch attached. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
diff --git a/doc/src/sgml/release-11.sgml b/doc/src/sgml/release-11.sgml new file mode 100644 index 05fd23f..7599c6f *** a/doc/src/sgml/release-11.sgml --- b/doc/src/sgml/release-11.sgml *************** same commits as above *** 1982,1987 **** --- 1982,2004 ---- <listitem> <!-- + 2018-02-13 [4b93f5799] Make plpgsql use its DTYPE_REC code paths for composite- + + --> + + <para> + Allow PL/pgSQL to handle changes to composite types (e.g. record, + row) that happen between the first and later function executions + in the same session (Tom Lane) + </para> + + <para> + Previously such circumstances generated errors. + </para> + </listitem> + + <listitem> + <!-- 2018-03-28 [3f44e3db7] Transforms for jsonb to PL/Python -->