Re: Naive schema questions - Mailing list pgsql-general

From
Subject Re: Naive schema questions
Date
Msg-id 65245.216.238.112.88.1085671326.squirrel@$HOSTNAME
Whole thread Raw
In response to Re: Naive schema questions  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Naive schema questions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> On 5/27/2004 7:15 AM, Rory Campbell-Lange wrote:
>
>> seems to suggest that the functions are schema specific.
>
> It is even better. The property that set's your "schema context" is
> called search_path. This contains a list of schema names. For an
> unqualified (schema name not explicitly given) object, be that a table,
>  sequence, view, function or whatever, the system looks in all those
> schemas in that particular order and uses the first found.

And where do tables created with "CREATE LOCAL TEMPORARY TABLE..." fit
into this, like if say a local temp table where created that has the same
name as an existing normal (i.e., not a local temp) table? And what if I
do an explicit DROP of the local temp table rather than relying on the
automatic, end-of-session clean-up? Is there any risk of losing the
normal table?

--Berend Tober




pgsql-general by date:

Previous
From: Laura Vance
Date:
Subject: Re: One more time on ONE-TO-MANY
Next
From: "BARTKO Zoltan"
Date:
Subject: custom error messages/numbers