X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id DC62ED1B524 for ; Wed, 13 Aug 2003 12:07:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 07254-08 for ; Wed, 13 Aug 2003 09:05:35 -0300 (ADT) Received: from mailav.tor1.inquent.com (mail.inquent.com [216.208.117.106]) by svr1.postgresql.org (Postfix) with ESMTP id 05E9AD1B52C for ; Wed, 13 Aug 2003 09:06:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 4193D1024D; Wed, 13 Aug 2003 07:59:12 -0400 (EDT) Received: from [192.168.1.200] (dyn-133-81.tor.dsl.tht.net [134.22.133.81]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 1DDB910248; Wed, 13 Aug 2003 07:59:10 -0400 (EDT) Subject: Re: Insert a description while creating a table From: Rod Taylor To: luiz@klais.com.br Cc: pgsql-sql@postgresql.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-eOXpDDNudfeSbXNWIX5+" Message-Id: <1060776408.86938.12.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 13 Aug 2003 08:06:49 -0400 X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/128 X-Sequence-Number: 14744 --=-eOXpDDNudfeSbXNWIX5+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-08-13 at 07:56, luiz@klais.com.br wrote: > Hi, >=20 > I want to insert descriptions at the columns of my tables but without=20 > using the command COMMENT ON. I want to do it together with the table=20 > creation. Is that possible? >=20 > I wanna do something like this: >=20 > 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. --=-eOXpDDNudfeSbXNWIX5+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/OinY6DETLow6vwwRAnZZAKCFqNH5H70B/7YXqP+hjEhkKwHoAQCfdoRZ KUHThSFVadz0nY/K1dXAYj8= =2vmj -----END PGP SIGNATURE----- --=-eOXpDDNudfeSbXNWIX5+--