Re: DROP COLUMN Progress

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP COLUMN Progress
Дата
Msg-id 931.1026187375@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DROP COLUMN Progress  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: DROP COLUMN Progress  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: DROP COLUMN Progress
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Proposal: CREATE CONVERSION