Table Comments

From: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Table Comments
Date: 2010-09-15 15:53:16
Message-ID: AANLkTinS4Uo=OKFSPhwG3JHdHD77+xA-U6g3J_J1v9E_@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I saw in the documentation for PostgreSQL that I can add 'comments' to
table entries when creating columns:

http://www.postgresql.org/docs/8.1/static/tutorial-table.html

CREATE TABLE weather (
city varchar(80),
temp_lo int, -- low temperature
temp_hi int, -- high temperature
prcp real, -- precipitation
date date
);

I did a search and don't understand in what aspect are the 'comments'
relevant / visible? I don't see the comments when I attempt to list /
describe the table with \d weather;

Any suggestions?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Hull 2010-09-15 15:53:39 Re: Search then Delete Performance
Previous Message Tom Lane 2010-09-15 15:39:46 Re: Getting FATAL: terminating connection due to administrator command