Re: Insert a description while creating a table

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: luiz(at)klais(dot)com(dot)br
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Insert a description while creating a table
Date: 2003-08-13 12:06:49
Message-ID: 1060776408.86938.12.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Benoît Bournon 2003-08-13 12:24:36 Re: Insert a description while creating a table
Previous Message luiz 2003-08-13 11:56:01 Insert a description while creating a table