Re: BUG #5389: Column order on dump/reload broken from defined setof function - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5389: Column order on dump/reload broken from defined setof function
Date
Msg-id 24267.1269551083@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5389: Column order on dump/reload broken from defined setof function  ("Timothy Seever" <tim.seever@gmail.com>)
List pgsql-bugs
"Timothy Seever" <tim.seever@gmail.com> writes:
> Adding a column to an inherited table in-place works as expected with the
> combined table/etc.  However on dump/reload the physical order changes, so
> any? predefined select from a setof function pulling from the combined table
> will result in a mismatch.

Yup.  This is not pg_dump's fault, and there's no way for pg_dump to fix
it for you.  Sorry, but you'll need to correct the queries yourself.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5390: pg_dump does not check/include additional schema dependencies when writing schema/search path
Next
From: Takahiro Itagaki
Date:
Subject: Re: UTF-8 encoding failure