Re: Test instability when pg_dump orders by OID - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: Test instability when pg_dump orders by OID
Date
Msg-id d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com
Whole thread Raw
In response to Re: Test instability when pg_dump orders by OID  (Noah Misch <noah@leadboat.com>)
Responses Re: Test instability when pg_dump orders by OID
List pgsql-hackers
Hello Noah,

04.08.2025 03:03, Noah Misch wrote:
> Pushed as 0decd5e.  ...

Please look at a new anomaly introduced with that commit. The following
script:
createdb regression

echo "
CREATE USER u1;
ALTER DEFAULT PRIVILEGES FOR ROLE u1 REVOKE INSERT ON TABLES FROM u1;

CREATE USER u2;
ALTER DEFAULT PRIVILEGES FOR ROLE u2 REVOKE INSERT ON TABLES FROM u2;
" | psql regression

pg_dump regression

triggers:
pg_dump: pg_dump_sort.c:454: DOTypeNameCompare: Assertion `0' failed.

Reproduced on master and REL_13_STABLE.

Best  regards,
Alexander



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: VM corruption on standby
Next
From: Bertrand Drouvot
Date:
Subject: Re: Adding per backend commit and rollback counters