public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: carl clemens <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: psql variable substitution in plpgsql loop
Date: Sun, 21 Jun 2026 11:17:13 -0700
Message-ID: <CAKFQuwZ3GpKPapL+rroYZbgRkXsNyUmto7jf3Mre561oeKR+Og@mail.gmail.com> (raw)
In-Reply-To: <CALVj=tv3UD6hVXnqdZpGQmBFk9K9pFof+H1teMn6Gw4zx8a7Eg@mail.gmail.com>
References: <CALVj=tv3UD6hVXnqdZpGQmBFk9K9pFof+H1teMn6Gw4zx8a7Eg@mail.gmail.com>

On Sunday, June 21, 2026, carl clemens <[email protected]> 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.


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: psql variable substitution in plpgsql loop
  In-Reply-To: <CAKFQuwZ3GpKPapL+rroYZbgRkXsNyUmto7jf3Mre561oeKR+Og@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox