Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that
Date
Msg-id CABAq_6GJsBefn4cS_6peg6UL6kbmZS4D2DzUR8gUyms7tCwrfQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that
List pgsql-hackers
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.

Thanks,
--Jacob


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump: sortDumpableObjectsByTypeName() doesn't always do that
Next
From: Alvaro Herrera
Date:
Subject: Re: [report] memory leaks in COPY FROM on partitioned table