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

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Florian Koch <florian(dot)murat(dot)koch(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: I get ERROR: column "table_name" does not exist
Date: 2024-06-07 13:35:47
Message-ID: d9130ac6-5e22-4c69-8461-ab347291ff9b@ewie.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2024-06-07 14:24 +0200, Florian Koch wrote:
> I made a gist with the error.
> https://gist.github.com/floratmin/a4b404f0fd66b03a0428c07686b71410

The problem is the semicolon after PG_DATATYPE_NAME, causing the
TABLE_NAME line to be a separate statement:

> exception_datatype := PG_DATATYPE_NAME;
> exception_table := TABLE_NAME;

--
Erik

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Dull Bananas 2024-06-07 15:06:24 DROP TRIGGER lock
Previous Message David G. Johnston 2024-06-07 13:24:25 Re: CLUSTER details