[rt-devel] Postgres, bytea and my ruined evening.

Philip Warner pjw at rhyme.com.au
Thu Mar 20 18:12:28 EST 2003


At 04:17 PM 20/03/2003 -0500, Vivek Khera wrote:
>Well, to survive reordering of columns, the only real way to do it is
>with "pg_dump --attribute-inserts --data-only" then loading the result
>via psql after the new schema has been created.

Since at least 7.3, but maybe 7.2 PG_DUMP will use the extended COPY format 
which knows about column names & order. It was a surprise to me too...



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/




More information about the Rt-devel mailing list