dbTalk Databases Forums  

Re: Set search_path

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Re: Set search_path in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: Set search_path - 05-21-2004 , 10:17 AM






"Michael A Weber" <mweber (AT) 4wre (DOT) com> writes:
Quote:
If I attempt to do a query of, say Select * from Users, it fails with
'relation "users" does not exist.
And you think this is wrong why? You haven't mentioned creating such a
table in schema newpath ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
  #2  
Old   
Jeffrey Melloy
 
Posts: n/a

Default Re: Set search_path - 05-21-2004 , 09:52 PM







On May 14, 2004, at 7:11 PM, Michael A Weber wrote:
Quote:
Is there a way to make it ‘stick’ as it seems that it isn’t sticking?*
Or, am I missing something completely?* Please help!


set search_path simply sets it for your current session.

To set it permanently, do alter user username set search_path = newpath;

Jeff



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.