pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Stosberg <mark@summersault.com>
To: David BOURIAUD <david.bouriaud@ac-rouen.fr>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: About table column names.
Date: Thu, 07 Jun 2001 09:45:58 -0500
Message-ID: <3B1F93A6.3B836262@summersault.com> (raw)
References: <3B1F41E2.37B3305F@ac-rouen.fr>

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/



view thread (3+ messages)  latest in thread

Message-ID: <3B1F93A6.3B836262@summersault.com>
Permalink:  ../3B1F93A6.3B836262@summersault.com/
Also on:    postgresql.org/message-id/3B1F93A6.3B836262@summersault.com

 · 

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: mark@summersault.com, david.bouriaud@ac-rouen.fr
  Subject: Re: About table column names.
  In-Reply-To: <3B1F93A6.3B836262@summersault.com>

* 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