Re: [Patch] Block ALTER TABLE RENAME COLUMN when column is used by property graph

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Cc: SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Patch] Block ALTER TABLE RENAME COLUMN when column is used by property graph
Date: 2026-04-23 13:49:46
Message-ID: aeojU-vVj0n3MC1Y@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Apr-23, Ashutosh Bapat wrote:

> Name of the property is derived from the name of the column it
> references if the property name is not specified at the time of
> creating the property. But these two are different. Changing column
> name can not be expected to change the property name automatically.

Hmm, but we do rename constraints when we rename indexes, and other
similar things, don't we?

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"No me acuerdo, pero no es cierto. No es cierto, y si fuera cierto,
no me acuerdo." (Augusto Pinochet a una corte de justicia)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2026-04-23 13:50:31 Re: Adding an explaining title to Notes on SGML
Previous Message Marcos Pegoraro 2026-04-23 13:33:37 Re: Adding an explaining title to Notes on SGML