pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Klaus Woelfel <woelfel@mayn.de>
To: pgsql-sql@postgresql.org
Subject: showing the DEFAULT of a field
Date: Fri, 5 Nov 1999 23:15:58 +0100
Message-ID: <99110523182005.02127@server> (raw)

Hi,
I'm new to psql and used mysql before. With mysql I could get with "show columns
from table 'table_name'" a table with the rows "Field", "Type", "NULL", "Key",
"Default" and "Extra".

But with "\d 'table_name'" in qsql I get only a table with the rows "Field",
"Type", and "Length". How can I get the other Information for example the
Default or if the field has the primary key? 

Klaus Woelfel




view thread (2+ messages)  latest in thread

Message-ID: <99110523182005.02127@server>
Permalink:  ../99110523182005.02127@server/
Also on:    postgresql.org/message-id/99110523182005.02127@server

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: woelfel@mayn.de
  Subject: Re: showing the DEFAULT of a field
  In-Reply-To: <99110523182005.02127@server>
  References: <99110523182005.02127@server>

* 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