Re: doc: update PL/pgSQL sample loop function

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: doc: update PL/pgSQL sample loop function
Date: 2019-09-11 05:44:59
Message-ID: CAA4eK1JbuCteP7cnxZ1ZbOAmjwQfoygKPddkgboz7kFV9_Hxeg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Sep 1, 2019 at 9:09 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)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

Attachment Content-Type Size
0001-Doc-Update-PL-pgSQL-sample-function-in-plpgsql.sgml.patch application/octet-stream 2.7 KB
0001-94-Doc-Update-PL-pgSQL-sample-function-in-plpgsql.sgml.patch application/octet-stream 2.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-09-11 05:45:51 Re: [HACKERS] [PATCH] pageinspect function to decode infomasks
Previous Message gc_11 2019-09-11 05:37:40 回复:Re: Does PostgreSQL support debian Linux on Arm CPU Platform?