Re: psql variable substitution in plpgsql loop

From: carl clemens <cclemens968(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: psql variable substitution in plpgsql loop
Date: 2026-06-21 19:27:20
Message-ID: CALVj=tsAbfN+nxdKHbt0+_-ovgXjPx43kgJ4Fvn3edAO0xt7LQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ok, no problem.

Thanks

On Sun, Jun 21, 2026 at 6:17 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Sunday, June 21, 2026, carl clemens <cclemens968(at)gmail(dot)com> wrote:
>>
>> psql fails to populate a table in variable substitution.
>> the variable being within a plpgsql "goto" loop looks suspicious
>>
>
> psql will not modify string literals when performing variable substitution.
>
> David J.
>
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-06-21 19:40:04 Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct
Previous Message David G. Johnston 2026-06-21 18:17:13 Re: psql variable substitution in plpgsql loop