Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jacob Champion <pchampion@pivotal.io>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2018-08-07T17:17:12Z
Lists: pgsql-hackers
Jacob Champion <pchampion@pivotal.io> writes: > On Mon, Aug 6, 2018 at 12:45 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Ah, gotcha. But whether the behavior is sane or not, it'd be reproducible >> for any specific input dataset on any specific platform (unless you've got >> a quicksort that actually uses randomized pivots; but ours doesn't, and >> I think that pg_dump does use src/port/qsort.c). So that partially >> answers Andrew's question as to why we've not seen instability in the >> buildfarm's results. > I completely missed that the qsort in use was part of libpgport; that > should make it much easier to repro. We'll give it a shot. I don't see any reason to insist on a test case before pushing this fix, so I did that. (As I expected, the fix doesn't change any existing regression test results.) regards, tom lane
Commits
-
Ensure pg_dump_sort.c sorts null vs non-null namespace consistently.
- f7364300667b 11.0 landed
- f3f6558b5d76 9.5.15 landed
- dc391dacf170 10.6 landed
- abd04e0dd8a5 9.4.20 landed
- 6b6327d938ed 9.6.11 landed
- 5b5ed4756c9b 12.0 landed
- 5abdb33ad053 9.3.25 landed
-
Last-minute updates for release notes.
- e0ee93053998 12.0 cited