Re: Insert a description while creating a table

From: Benoît Bournon <benoit(dot)bournon(at)adelis(dot)com>
To:
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Insert a description while creating a table
Date: 2003-08-13 12:24:36
Message-ID: 3F3A2E04.5090709@adelis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

comment on table "test"
is 'fziofeiozfiezojfezjfeziojfeziojf ezfjioezifj ezio' ;

Rod Taylor wrote:

>On Wed, 2003-08-13 at 07:56, luiz(at)klais(dot)com(dot)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.
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message BenLaKnet 2003-08-13 12:31:58 Re: Insert a description while creating a table
Previous Message Rod Taylor 2003-08-13 12:06:49 Re: Insert a description while creating a table