pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Christian Barthel <bch@online.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: FK Constraint sort order with pg_dump
Date: Thu, 21 Jul 2022 10:49:33 -0700
Message-ID: <a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.com> (raw)
In-Reply-To: <87h73a4bu3.fsf@online.de>
References: <87h73a4bu3.fsf@online.de>

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.klaver@aklaver.com





view thread (6+ messages)  latest in thread

Message-ID: <a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.com>
Permalink:  ../a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.com/
Also on:    postgresql.org/message-id/a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, bch@online.de
  Subject: Re: FK Constraint sort order with pg_dump
  In-Reply-To: <a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.com>
  References: <87h73a4bu3.fsf@online.de> <a180fd02-85fc-5e28-7952-3cc2e7ff5fe0@aklaver.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