Re: change attnum in pg_catalog.pg_attribute

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: change attnum in pg_catalog.pg_attribute
Дата
Msg-id 87k6nhnild.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: change attnum in pg_catalog.pg_attribute  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> somee <grzegorz.przezdziecki@polskiesklepy.pl> writes:
> > I want to change column order in select * from table instruction;
> > I can do that changing attnum but I don't know it is safely or not for
> > system.
>
> It won't work and will likely crash the backend.

Out of curiosity, would it work if the table were completely empty at the
time?

--
greg

В списке pgsql-general по дате отправления:

Предыдущее
От: Grzegorz Przeździecki
Дата:
Сообщение: Re: change attnum in pg_catalog.pg_attribute
Следующее
От: Carlos Roberto Chamorro Mostac
Дата:
Сообщение: unsubscribe