Re: DROP COLUMN Progress - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DROP COLUMN Progress
Date
Msg-id 931.1026187375@sss.pgh.pa.us
Whole thread Raw
In response to DROP COLUMN Progress  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: DROP COLUMN Progress
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> Are you checking access to columns that're to the right of the one
>> dropped?

> OK, interesting:

> test=# create table test (a int4, b int4, c int4, d int4);
> CREATE TABLE
> test=# insert into test values (1,2,3,4);
> INSERT 16588 1
> test=# alter table test drop b;
> ALTER TABLE
> test=# select * from test;
>  a | d | d
> ---+---+---
>  1 | 3 | 4
> (1 row)

What of
SELECT a,c,d FROM test

I'll bet that doesn't work at all...
        regards, tom lane




pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: DROP COLUMN Progress
Next
From: Thomas Lockhart
Date:
Subject: Re: Proposal: CREATE CONVERSION