Re: Always have pg_dump write rules in a consistent order

2024-11-05 Thread Andreas Karlsson
On 11/4/24 7:32 PM, Tom Lane wrote: Seems reasonable. Pushed with some trivial cosmetic adjustments to make it look more like the identical adjacent cases for policies and triggers. Thanks! Andreas

Re: Always have pg_dump write rules in a consistent order

2024-11-04 Thread Tom Lane
Andreas Karlsson writes: > When working on a new feature for PostgreSQL I noticed that the > pg_upgrade tests became flaky due to rules being dumped in a different > order between the original cluster and the upgraded cluster. (For > context: my regress scripts left a bunch of views with depend

Always have pg_dump write rules in a consistent order

2024-10-29 Thread Andreas Karlsson
Hi, When working on a new feature for PostgreSQL I noticed that the pg_upgrade tests became flaky due to rules being dumped in a different order between the original cluster and the upgraded cluster. (For context: my regress scripts left a bunch of views with dependency circles which I had fo