From: rikard.pavelic@zg.htnet.hr
To: pgsql-bugs@postgresql.org
Subject: BUG #6618: incorrect restore for composite columns when order changes
Date: Thu, 26 Apr 2012 22:20:51 +0000
Message-ID: <E1SNX3T-0003Mk-Gy@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6618
Logged by: Rikard Pavelic
Email address: rikard.pavelic@zg.htnet.hr
PostgreSQL version: 9.1.3
Operating system: Windows 7
Description:
We've run into another issue with composite types.
I've search internets but didn't find any reference to this, so I guess it's
not a documented problem.
Steps to reproduce problem:
1) create composite type
2) use composite type as column in a table
3) clone database
4) change order of attributes in cloned database
5) dump to plain sql with column names
6) restore sql dump to cloned database
Problem:
Composite type will be restored in order from original instead of cloned
database.
While I don't see a nice solution to this problem, it's not a too big issue
for us.
Just trying to document some more gotchas with composite types ;(
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: rikard.pavelic@zg.htnet.hr
Subject: Re: BUG #6618: incorrect restore for composite columns when order changes
In-Reply-To: <E1SNX3T-0003Mk-Gy@wrigleys.postgresql.org>
References: <E1SNX3T-0003Mk-Gy@wrigleys.postgresql.org>
* 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