pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryce Nesbitt <bryce1@obviously.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: comment on COLUMN, broken or misunderstanding?
Date: Sun, 17 Feb 2008 21:35:03 -0500
Message-ID: <5750.1203302103@sss.pgh.pa.us> (raw)
In-Reply-To: <47B8EAF2.6070208@obviously.com>
References: <47B8EAF2.6070208@obviously.com>

Bryce Nesbitt <bryce1@obviously.com> 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



view thread (5+ messages)  latest in thread

Message-ID: <5750.1203302103@sss.pgh.pa.us>
Permalink:  ../5750.1203302103@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5750.1203302103@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bryce1@obviously.com
  Subject: Re: comment on COLUMN, broken or misunderstanding?
  In-Reply-To: <5750.1203302103@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox