Re: About table column names.

From: Mark Stosberg <mark(at)summersault(dot)com>
To: David BOURIAUD <david(dot)bouriaud(at)ac-rouen(dot)fr>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: About table column names.
Date: 2001-06-07 14:45:58
Message-ID: 3B1F93A6.3B836262@summersault.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

David BOURIAUD wrote:
>
> Hi the list !
> As far as I know, column names for a table can't contain any space,
> tabs, and other sort of "exotic" characters.

In fact, I know you can have at least spaces in your column names, like this:

mark=> create table t ("column one" text);
CREATE

Just put quotes around them.

> Is there a way to add a
> description of a table column anywhere in postgres tables, or does it
> have to be handled manually by creating a custum table handling this
> kind of datas ? Thanks by advance for any suggestion.

I'm interested in this, too. It seems more useful than having them in a
SQL file...which can sometimes get out of synch with the database. :)

-mark

http://mark.stosberg.com/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message ANDREW PERRIN 2001-06-07 14:59:06 Re: behavior of ' = NULL' vs. MySQL vs. Standards
Previous Message Mark Stosberg 2001-06-07 14:40:40 Re: behavior of ' = NULL' vs. MySQL vs. Standards