Re: Naive schema questions

Поиск
Список
Период
Сортировка
От
Тема Re: Naive schema questions
Дата
Msg-id 65245.216.238.112.88.1085671326.squirrel@$HOSTNAME
обсуждение исходный текст
Ответ на Re: Naive schema questions  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: Naive schema questions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Laura Vance
Дата:
Сообщение: Re: One more time on ONE-TO-MANY
Следующее
От: "BARTKO Zoltan"
Дата:
Сообщение: custom error messages/numbers