Re: BUG #5389: Column order on dump/reload broken from defined setof function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Timothy Seever" <tim(dot)seever(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5389: Column order on dump/reload broken from defined setof function
Date: 2010-03-25 21:04:43
Message-ID: 24267.1269551083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Timothy Seever" <tim(dot)seever(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jaime Casanova 2010-03-25 22:59:48 Re: Fwd: [BUGS] Question about installation in 2003 server
Previous Message Tom Lane 2010-03-25 21:03:05 Re: BUG #5390: pg_dump does not check/include additional schema dependencies when writing schema/search path