Add column and specify the column position in a table

Поиск
Список
Период
Сортировка
От Emi Lu
Тема Add column and specify the column position in a table
Дата
Msg-id 446B9418.3080700@encs.concordia.ca
обсуждение исходный текст
Ответы Re: Add column and specify the column position in a table  (Guillaume LELARGE <guillaume.lelarge@gmail.com>)
Список pgsql-sql
Hello,

I am trying to insert one column to a specific position in a table.

In mysql, I can do:
. create table test(id varchar(3), name varchar(12));
. alter table test add column givename varchar(12) after id;


I am looking for similar things in postgresql to add a new column to the 
correct position in a table.

Could someone hint me please.

Thanks alot!
Ying Lu




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Table constraints and INSERT
Следующее
От: Michael Joseph Tan
Дата:
Сообщение: help..postgresql mulyiple return values