From: BenLaKnet <benlaknet@icqmail.com>
To: Rod Taylor <rbt@rbt.ca>
Cc: luiz@klais.com.br
Cc: pgsql-sql@postgresql.org
Subject: Re: Insert a description while creating a table
Date: Wed, 13 Aug 2003 14:31:58 +0200
Message-ID: <3F3A2FBE.2050408@icqmail.com> (raw)
In-Reply-To: <1060776408.86938.12.camel@jester>
References: <Pine.LNX.4.44.0308130851230.1254-100000@elessar.klais>
<1060776408.86938.12.camel@jester>
create table test (
id serial ,
name varchar(50)
);
COMMENT ON TABLE "test"
IS 'MySQL table
id_training_form ... id_form_unique';
comment on COLUMN "test"."id"
is 'greigjreoigjreigjore iojrjiogre' ;
Doc postgresql comment
Rod Taylor wrote:
>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.
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: benlaknet@icqmail.com, rbt@rbt.ca, luiz@klais.com.br
Subject: Re: Insert a description while creating a table
In-Reply-To: <3F3A2FBE.2050408@icqmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox