From: Rod Taylor <rbt@rbt.ca>
To: luiz@klais.com.br
Cc: pgsql-sql@postgresql.org
Subject: Re: Insert a description while creating a table
Date: Wed, 13 Aug 2003 08:06:49 -0400
Message-ID: <1060776408.86938.12.camel@jester> (raw)
In-Reply-To: <Pine.LNX.4.44.0308130851230.1254-100000@elessar.klais>
References: <Pine.LNX.4.44.0308130851230.1254-100000@elessar.klais>
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.
Attachments:
signature.asc (application/pgp-signature, 186B) download
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: rbt@rbt.ca, luiz@klais.com.br
Subject: Re: Insert a description while creating a table
In-Reply-To: <1060776408.86938.12.camel@jester>
* 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