Re: [HACKERS] different column orders in regression test database - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] different column orders in regression test database
Date
Msg-id f5e0a577-b007-6b75-6deb-9bd0bc0e4765@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] different column orders in regression test database  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: [HACKERS] different column orders in regression test database  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
On 5/18/17 19:07, Thomas Munro wrote:
> To make normal dump/restore preserve the order, we could either make
> it *always* write create-then-attach, or do it only if required.  I'd
> vote for doing it only if required because of different column order,
> because I don't want to see 1,000 partitions dumped in "long format"
> when the short and sweet CREATE... PARTITION OF ... syntax could
> usually be used.

Doing it the long way only when necessary makes sense.  Maybe never
doing it the long way also makes sense, as long as we're clear that
that's what we want.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: [HACKERS] [bug fix] PG10: libpq doesn't connect to alternativehosts when some errors occur
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Race conditions with WAL sender PID lookups