Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5DC3F2E00B5 for ; Mon, 18 Feb 2008 00:40:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07879-01-2 for ; Mon, 18 Feb 2008 00:40:21 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 373672E029F for ; Sun, 17 Feb 2008 22:35:08 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m1I2Z3n9005751; Sun, 17 Feb 2008 21:35:03 -0500 (EST) To: Bryce Nesbitt cc: pgsql-sql@postgresql.org Subject: Re: comment on COLUMN, broken or misunderstanding? In-reply-to: <47B8EAF2.6070208@obviously.com> References: <47B8EAF2.6070208@obviously.com> Comments: In-reply-to Bryce Nesbitt message dated "Sun, 17 Feb 2008 18:18:26 -0800" Date: Sun, 17 Feb 2008 21:35:03 -0500 Message-ID: <5750.1203302103@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/143 X-Sequence-Number: 30234 Bryce Nesbitt writes: > I'm expecting COLUMN comments to work much like table comments, but I'm > getting nothing back. Is this a reportable bug, or a misunderstanding? > # comment on column sched.days is 'Bitmask 0=Sunday,7=Holiday, 8=School > day, 9=Special'; > COMMENT > # \dd sched.days; > Schema | Name | Object | Description > --------+------+--------+------------- > (0 rows) Try "\d+ sched". I don't think \dd considers columns at all --- what that command would be looking for is comments on table days in schema sched. regards, tom lane