Re: ALTER COLUMN/logical column position - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: ALTER COLUMN/logical column position
Date
Msg-id 3FBC8C05.6010507@pse-consulting.de
Whole thread Raw
In response to Re: ALTER COLUMN/logical column position  (Hannu Krosing <hannu@tm.ee>)
Responses Re: ALTER COLUMN/logical column position
Re: ALTER COLUMN/logical column position
List pgsql-hackers
Hannu Krosing wrote:

>
>attnum is used internally to retrieve the data 
>
>  
>
Oops...

So if an additional column number is invented, it should not be a 
logical column number, but a physical storage number for internal data 
retrieval. This way, the "user interface" doesn't change, and all those 
"SELECT ... FROM pg_attribute ORDER BY attnum" continue delivering the 
expected result.

Regards,
Andreas



pgsql-hackers by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Re: RPM building fun
Next
From: strk
Date:
Subject: Re: PG7.4 ordering operator