Re: FK Constraint sort order with pg_dump

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Christian Barthel <bch(at)online(dot)de>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: FK Constraint sort order with pg_dump
Date: 2022-07-21 17:49:33
Message-ID: a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/21/22 10:25, Christian Barthel wrote:
> Hello,
>
> The sorting order of FK constraints with the same name is based on the
> OID (because it lands in the “Usually shouldn’t get here” OID comparison
> block at [1]). Wouldn’t it be better if the order of those constraints
> were based on the table name?
>

Why does it matter?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2022-07-21 17:54:50 Re: FK Constraint sort order with pg_dump
Previous Message Martin Kalcher 2022-07-21 17:29:12 Re: [PATCH] Introduce array_shuffle() and array_sample()