pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Dependencies for partitioned indexes are still a mess
Date: Wed, 12 Aug 2020 18:29:16 -0400
Message-ID: <324385.1597271356@sss.pgh.pa.us> (raw)
In-Reply-To: <20200812221313.zfqsfcpt2tmkv4la@alap3.anarazel.de>
References: <3170626.1594842723@sss.pgh.pa.us>
	<20200812221313.zfqsfcpt2tmkv4la@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> I've attached the diff between first.sql and second.sql. Here's the
> highlights:

As I recall, the differences in b_star etc are expected, because
pg_dump reorders that table's columns to match its inheritance parent,
which they don't to start with because of ALTER TABLE operations.

I'm pretty sure we set it up that way deliberately ages ago, because
pg_dump used to have bugs when contending with such cases.  Not sure
about a good way to mechanize recognizing that these diffs are
expected.

Dunno about test_type_diff2, but it might be a newer instance of
the same thing.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <324385.1597271356@sss.pgh.pa.us>
Permalink:  ../324385.1597271356@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/324385.1597271356@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, alvherre@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Dependencies for partitioned indexes are still a mess
  In-Reply-To: <324385.1597271356@sss.pgh.pa.us>

* 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