Re: Two very basic questions..

From: missive(at)frontiernet(dot)net (Lee Harr)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Two very basic questions..
Date: 2001-12-11 00:52:05
Message-ID: 9v3lbk$1pom$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> - how do I see details of the various constraints (e.g foreign keys) in
> psql client? Am I looking at a system-table query?

Most of this can be seen with
\d tableName

(also see \? for more psql backslash commands)

though I don't think foreign keys are shown.
I am not exactly sure how to get that information,
but you might try searching the mailing list
archives.

> - Er, what can I use as a comment character in a sql file? Multiple
> hashmarks seem to cause parse errors

-- this is a comment

(I believe this is an SQL standard)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Verbus M. Counts 2001-12-11 01:00:37 Data format problem
Previous Message S P Arif Sahari Wibowo 2001-12-11 00:43:16 Varying bit field: to set and query a particular bit