pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>
Subject: Re: Test instability when pg_dump orders by OID
Date: Sun, 10 Aug 2025 10:00:00 +0300
Message-ID: <d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com> (raw)
In-Reply-To: <20250804000321.8b.nmisch@google.com>
References: <20250707192654.9e.nmisch@google.com>
	<CA+TgmoYnAiypU5sYstJ0nCqr+VVubf5wczANg=KqEeOYmdVeAw@mail.gmail.com>
	<20250718191702.45.nmisch@google.com>
	<CA+Tgmoa8FumzaUUSnjK0x=6_oXDXggQPpzgPfX-KE=PVrTyamg@mail.gmail.com>
	<20250725022740.30.nmisch@google.com>
	<CA+TgmoZXmAZmB9OZaXTiy-HG2_1d7UiYrFKXf17C_yLfPa5pQg@mail.gmail.com>
	<20250804000321.8b.nmisch@google.com>

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





view thread (25+ messages)  latest in thread

Message-ID: <d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com>
Permalink:  ../d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com/
Also on:    postgresql.org/message-id/d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: exclusion@gmail.com, noah@leadboat.com, robertmhaas@gmail.com
  Subject: Re: Test instability when pg_dump orders by OID
  In-Reply-To: <d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox