Re: Insert a description while creating a table - Mailing list pgsql-sql

From Rod Taylor
Subject Re: Insert a description while creating a table
Date
Msg-id 1060776408.86938.12.camel@jester
Whole thread Raw
In response to Insert a description while creating a table  (luiz@klais.com.br)
Responses Re: Insert a description while creating a table
Re: Insert a description while creating a table
List 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 by date:

Previous
From: luiz@klais.com.br
Date:
Subject: Insert a description while creating a table
Next
From: BenLaKnet
Date:
Subject: Re: Insert a description while creating a table