Re: I get ERROR: column "table_name" does not exist

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: florian(dot)murat(dot)koch(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: I get ERROR: column "table_name" does not exist
Date: 2024-06-05 16:32:04
Message-ID: 26d7c4dd-2809-426a-acb4-bbd2828fba93@ewie.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2024-06-04 21:50 +0200, PG Doc comments form wrote:
> When using GET STACKED DIAGNOSTICS in PL/pgSQL accessing TABLE_NAME,
> COLUMN_NAME, CONSTRAINT_NAME or SCHEMA_NAME throws an error.
>
> The function "shared.test_raise_exception":
> https://github.com/rin-nas/postgresql-patterns-library/issues/8#issuecomment-2147984520

* Do you have a reproducer with those diagnostic items? The linked
script does not use any of the items that you've mentioned.

* Which Postgres version?

--
Erik

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Florian Koch 2024-06-06 13:08:59 Re: I get ERROR: column "table_name" does not exist
Previous Message Bruce Momjian 2024-06-05 14:07:10 Re: Need clarification on "field"