Re: Re: [SQL] renaming columns... danger? - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Re: [SQL] renaming columns... danger?
Date
Msg-id 3.0.5.32.20010107185544.03968700@mail.rhyme.com.au
Whole thread Raw
In response to Re: Re: [SQL] renaming columns... danger?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
At 15:15 7/01/01 +0900, Tatsuo Ishii wrote:
>> As for the latest CVS source, it looks still we have problems
>> regarding alter table rename column and pg_dump as Grant has
>> mentioned.  Results of pg_dump is attached.
>
>Sorry, an attachmet was missing.
>

I can reproduce this in 7.0.2 as well; it's because the PK attr name comes
from the index relation attr names, not the original relation. I'll look
into alternative queries but would welcome suggestions.





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


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Re: [SQL] renaming columns... danger?
Next
From: Philip Warner
Date:
Subject: Suggested fix for pg_dump