Insert a description while creating a table

From: luiz(at)klais(dot)com(dot)br
To: pgsql-sql(at)postgresql(dot)org
Subject: Insert a description while creating a table
Date: 2003-08-13 11:56:01
Message-ID: Pine.LNX.4.44.0308130851230.1254-100000@elessar.klais
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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'
);

Thanks in advance

Luiz.

--
*************************
* Luiz Fernando Pinto *
* -*- *
* Klais Desenvolvimento *
* luiz(at)klais(dot)com(dot)br *
*************************

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rod Taylor 2003-08-13 12:06:49 Re: Insert a description while creating a table
Previous Message Christoph Haller 2003-08-13 11:40:53 Re: INSERT INTO ... SELECT