Hi,

I also encountered an issue with pg_get_propgraphdef() and pg_dump.

CREATE TABLE wr (
    id int PRIMARY KEY,
    x text
);

CREATE PROPERTY GRAPH gwr
    VERTEX TABLES (
        wr PROPERTIES (wr AS whole)
    );

SELECT pg_get_propgraphdef('gwr'::regclass);
ERROR:  cache lookup failed for attribute 0 of relation ...

The graph itself works, and the whole row property can be queried through
GRAPH_TABLE. However, pg_dump also fails because it calls
pg_get_propgraphdef().
Reproduced this on PG 19beta3 as well as current master.

Regards,
Taha

Reply via email to