Schema - update search_path - Mailing list pgsql-general

From Alvin
Subject Schema - update search_path
Date
Msg-id 20061011081302.2646.qmail@web60220.mail.yahoo.com
Whole thread Raw
Responses Re: Schema - update search_path  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hey guys,

I would like to know a good way of updating or appending the schema names in the search path, Right now I do a show search_path, get the names of all the schemas, and then set search path; adding the new schema.

I'm in the process of integrating a few systems and will need to continuously add new schemas. The manual method above is pretty tiring and prone to errors and all that.

Looking through the mailing list I see that this question has been asked before but I don't see an answer.


Thanks.

pgsql-general by date:

Previous
From: "pobox@verysmall.org"
Date:
Subject: Re: plpgsql handling a set of values
Next
From: Andrew Kelly
Date:
Subject: Re: more anti-postgresql FUD