Re: Packages, inner subprograms, and parameterizable anonymous blocks for PL/pgSQL

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Bryn Llewellyn <bryn(at)yugabyte(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Packages, inner subprograms, and parameterizable anonymous blocks for PL/pgSQL
Date: 2021-12-23 03:18:31
Message-ID: CAKFQuwZuS-sY4CQjV3Xi+=WXJquHZ0qrJMQrN-HUBAVnujrghA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 22, 2021 at 6:27 PM Bryn Llewellyn <bryn(at)yugabyte(dot)com> wrote:

>
> * update t set t.v = p.v where t.k = p.k;*
> At run-time, p() terminates with an obscurely worded error:
>
> 42703: column "t" of relation "t" does not exist.
>
>
"set t.v" is simply invalid SQL and the error has nothing with this
discussion.

https://www.postgresql.org/docs/current/sql-update.html

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bryn Llewellyn 2021-12-23 04:29:46 Re: Packages, inner subprograms, and parameterizable anonymous blocks for PL/pgSQL
Previous Message Bryn Llewellyn 2021-12-23 01:40:54 Re: Packages, inner subprograms, and parameterizable anonymous blocks for PL/pgSQL