Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: psql: no sc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 3441 of 3799
Post > Topic >>

Re: psql: no schema info

by dev@[EMAIL PROTECTED] (Richard Huxton) Apr 28, 2008 at 08:30 AM

chester c young wrote:
> using 8.2 and 8.3
> 
> here's (psychological) problem as I see it:
> 
> # set search_path=old_schema;
> #
> # create sequence new_schema.seq1;
> #
> # create table new_schema.table1(
> #    col1 integer default nextval( 'seq1' )
> # );
> 
> using old_schema.seq1, not new_schema.seq1
> 
> and imho to make matters more difficult to troubleshoot:
> 
> # \dt table1 -> does not show which schema for seq1

Must admit I thought you were wrong, but having tested it, I think I see 
what you mean.

If the schema in question is in the search_path then it doesn't get 
displayed. If you've forgotten what your search_path is set to then that 
can cause confusion.

Not a problem I see much of since I very rarely change my search_path. I 
  refer to schema.table by preference.

-- 
   Richard Huxton
   Archonet Ltd

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 6 Posts in Topic:
psql: no schema info
chestercyoung@[EMAIL PROT  2008-04-27 14:33:33 
Re: psql: no schema info
tgl@[EMAIL PROTECTED] (T  2008-04-27 18:36:59 
Re: psql: no schema info
chestercyoung@[EMAIL PROT  2008-04-27 16:33:26 
Re: psql: no schema info
dev@[EMAIL PROTECTED] (R  2008-04-28 08:30:09 
Re: psql: no schema info
chestercyoung@[EMAIL PROT  2008-04-28 10:01:37 
Re: psql: no schema info
alvherre@[EMAIL PROTECTED  2008-04-27 20:05:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:39:45 CST 2008.