Re: PGQ catalog representation and pg_dump support

From: Sami Imseih <samimseih(dot)pg(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Melanie Plageman <melanieplageman(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)postgresql(dot)org, rmt(at)lists(dot)postgresql(dot)org
Subject: Re: PGQ catalog representation and pg_dump support
Date: 2026-09-03 01:06:17
Message-ID: CAN12+Y+r=P0z8WUB0PipHFPMafXNGU2ZAgh-TnCVjs88vskbuw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

As I was looking more into dependency related parts of GRAPH,
I encountered this, which I don't see mentioned in this thread already.

```
postgres=# CREATE TABLE t_alter_type (
id int PRIMARY KEY,
payload int
);

CREATE PROPERTY GRAPH g_alter_type
VERTEX TABLES (
t_alter_type PROPERTIES (payload AS payload_prop)
);

ALTER TABLE t_alter_type ALTER COLUMN payload TYPE bigint;
CREATE TABLE
CREATE PROPERTY GRAPH
ERROR: unexpected object depending on column: property payload_prop
of label t_alter_type of vertex t_alter_type of property graph
g_alter_type
postgres=#
```

ISTM that RememberAllDependentForRebuilding() does not handle all
property graph cases
properly.

--
Sami Imseih
Amazon Web Services (AWS)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2026-09-03 01:13:26 Re: Be strict when request to flush past end of WAL in WaitXLogInsertionsToFinish
Previous Message Paul Kim 2026-09-03 00:52:20 Re: Be strict when request to flush past end of WAL in WaitXLogInsertionsToFinish