Re: Database schemas: search_path - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Database schemas: search_path
Date
Msg-id 20041014143432.GA25803@wolff.to
Whole thread Raw
In response to Database schemas: search_path  ("Igor Maciel Macaubas" <igor@providerst.com.br>)
Responses Re: Database schemas: search_path
List pgsql-admin
On Thu, Oct 14, 2004 at 09:42:45 -0300,
  Igor Maciel Macaubas <igor@providerst.com.br> wrote:
> Hi all,
>
> I've organized my database design in multiple schemas, and migrated my existing tables to different schemas by using
asimple how-to I found in this list history. 
> But what I couldn't find was a way to make this schemata fully transparent to my application - which does selects
directlyto tables instead to schema.table. I know that I can always set the search_path environmnet variable, but I
haveto do it on each session. I'd like to know if there is a way to make my set search_path persistent on the database,
nomatter the session.  
> I believe that this is supported, but couldn't find out how to make it. Can someone help me?

Use ALTER DATABASE to set per database defaults.

pgsql-admin by date:

Previous
From: "Igor Maciel Macaubas"
Date:
Subject: Database schemas: search_path
Next
From: "Shridhar"
Date:
Subject: pgadminuser