pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chester c young <chestercyoung@yahoo.com>
To: sql pgsql <pgsql-sql@postgresql.org>
Subject: psql: no schema info
Date: Sun, 27 Apr 2008 14:33:33 -0700 (PDT)
Message-ID: <211388.34374.qm@web54304.mail.re2.yahoo.com> (raw)

have several schemae, each with identical tables.

in create scripts have been taking great care to fully qualify, eg,
  col1 references schema1.tab1( col1 )

however, just got burnt big time on sequences!  need to qualify them as
well, eg
  col1 integer default nextval( 'schema1.seq1' )

\dt is no help at all since it does not specify schema so it's
impossible to know if all is aligned correctly.  is there a way to tell
psql to fully qualify relations in the listing?

when everything was in public this wasn't a problem, but with elaborate
use of schemae it's pretty scary (for me).


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



view thread (6+ messages)  latest in thread

Message-ID: <211388.34374.qm@web54304.mail.re2.yahoo.com>
Permalink:  ../211388.34374.qm@web54304.mail.re2.yahoo.com/
Also on:    postgresql.org/message-id/211388.34374.qm@web54304.mail.re2.yahoo.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: chestercyoung@yahoo.com
  Subject: Re: psql: no schema info
  In-Reply-To: <211388.34374.qm@web54304.mail.re2.yahoo.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