Re: logical column position - Mailing list pgsql-hackers

From Tom Lane
Subject Re: logical column position
Date
Msg-id 23101.1069440602@sss.pgh.pa.us
Whole thread Raw
In response to Re: logical column position  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: logical column position  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> To put it differently: a ALTER COLUMN command may never-ever change the 
> identifier of the column, i.e. attrelid/attnum.

If the ALTER is changing the column type, it's not really the same
column anymore; I see nothing wrong with assigning a new attnum in that
scenario.  It's not like you can simply change the type and not go visit
the references in such a case.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Build farm
Next
From: Andreas Pflug
Date:
Subject: Re: logical column position