Re: Insert a description while creating a table

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Insert a description while creating a table
Дата
Msg-id 1060776408.86938.12.camel@jester
обсуждение исходный текст
Ответ на Insert a description while creating a table  (luiz@klais.com.br)
Ответы Re: Insert a description while creating a table
Re: Insert a description while creating a table
Список pgsql-sql
On Wed, 2003-08-13 at 07:56, luiz@klais.com.br wrote:
> Hi,
>
> I want to insert descriptions at the columns of my tables but without
> using the command COMMENT ON. I want to do it together with the table
> creation. Is that possible?
>
> I wanna do something like this:
>
> create table test (
>     id serial 'Descripitions about ID',
>     name varchar(50) 'Descriptions about NAME'
> );

Probably not going to happen in the backend.

However, you should be able to accomplish that with a little bit of Perl
to pre-process the SQL.

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

Предыдущее
От: luiz@klais.com.br
Дата:
Сообщение: Insert a description while creating a table
Следующее
От: BenLaKnet
Дата:
Сообщение: Re: Insert a description while creating a table