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 D3E76D1C4C8 for ; Wed, 13 Aug 2003 13:23:57 +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 14093-05 for ; Wed, 13 Aug 2003 10:22:25 -0300 (ADT) Received: from fzkmail2.fzk.de (fzkmail2.fzk.de [141.52.27.52]) by svr1.postgresql.org (Postfix) with SMTP id 0A4CBD1B56B for ; Wed, 13 Aug 2003 10:23:46 -0300 (ADT) Received: FROM resy5.fzk.de BY fzkmail2.fzk.de ; Wed Aug 13 15:23:49 2003 +0200 Received: œby rodos.fzk.de with ESMTP (8.8.6 (PHNE_17135)/8.7.1) id PAA25473 for ; Wed, 13 Aug 2003 15:23:48 +0200 (METDST) Message-ID: <3F3A3BE3.2A2B7D0@rodos.fzk.de> Date: Wed, 13 Aug 2003 15:23:48 +0200 From: Christoph Haller X-Mailer: Mozilla 4.77 [en] (X11; U; HP-UX B.10.20 9000/780) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: Insert a description while creating a table Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char 9C hex) in message header 'Received' Received: \234by rodos.fzk.de... ^ X-Archive-Number: 200308/133 X-Sequence-Number: 14749 > On Wed, Aug 13, 2003 at 02:54:59PM +0200, Christoph Haller wrote: > > \dd test shows > > > > Object descriptions > > Schema | Name | Object | Description > > --------+------+--------+------------- > > (0 rows) > > > > This is odd. OK, I know the doc says > > \dd [ pattern ] > > > > Shows the descriptions of objects matching the pattern, or of all > > visible objects if no argument is given. But in either case, > > only objects that have a description are listed. ("Object" covers > > aggregates, functions, operators, types, relations (tables, views, > > indexes, sequences, large objects), rules, and triggers.) For > > example: > > > > Nothing about columns. > > But what is the purpose of comments on columns if you can only get them > > via > > select * from pg_description where > > Have you tried \d+ tablename? (sorry for the long lines ";-) > I apologize for complaining, missed that completely. Thanks to Reinoud for pointing this out. Regards, Christoph