Re: doc: update PL/pgSQL sample loop function
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Ian Barwick <ian.barwick@2ndquadrant.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Pavel Stehule <pavel.stehule@gmail.com>
Date: 2019-09-11T05:44:59Z
Lists: pgsql-hackers
Attachments
- 0001-Doc-Update-PL-pgSQL-sample-function-in-plpgsql.sgml.patch (application/octet-stream) patch 0001
- 0001-94-Doc-Update-PL-pgSQL-sample-function-in-plpgsql.sgml.patch (application/octet-stream) patch 0001
On Sun, Sep 1, 2019 at 9:09 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > The current example shows the usage of looping in plpgsql, so as such > there is no correctness issue, but OTOH there is no harm in updating > the example as proposed by Ian Barwick. Does anyone else see any > problem with this idea? If we agree to proceed with this update, it > might be better to backpatch it for the sake of consistency though I > am not sure about that. > While checking the patch in back-branches, I noticed that it doesn't get applied to 9.4 due to the way the example forms the string. I have done the required changes for 9.4 as well and attached is the result. Ian, if possible, can you once check the patch for 9.4? -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
Commits
-
Doc: Update PL/pgSQL sample function in plpgsql.sgml.
- 1f705e68ee4f 9.4.25 landed
- 1ae57833e26f 9.5.20 landed
- 2db5262549ef 9.6.16 landed
- a477f250a3ea 10.11 landed
- 1fcb73fe72dc 11.6 landed
- fef55c569eed 12.0 landed
- 9b3c8f07ff3f 13.0 landed