Re: Fix GRAPH TABLE label and property error reporting

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Sami Imseih <samimseih(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix GRAPH TABLE label and property error reporting
Date: 2026-08-27 08:28:12
Message-ID: 7bd481f2-a908-4313-ae0a-eb72d9832cda@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24.08.26 12:43, Ashutosh Bapat wrote:
> I was wrong. It's not specified in the syntax rules. Your change is
> correct. In fact transformLabelExpr() does use
> ERRCODE_UNDEFINED_OBJECT for missing labels. I also agree with your
> reasoning behind not using ERRCODE_UNDEFINED_COLUMN.

ERRCODE_UNDEFINED_COLUMN is a subclass of syntax error, so I'm not sure
this analysis is really valid.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-08-27 08:58:41 Re: pg_upgrade silently truncates nextMultiOffset to 32 bits
Previous Message Heikki Linnakangas 2026-08-27 08:20:06 Re: pg_upgrade silently truncates nextMultiOffset to 32 bits