Re: has_table/schema_privilige() returns incorrect info on temp tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: has_table/schema_privilige() returns incorrect info on temp tables
Дата
Msg-id 22505.1141077518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: has_table/schema_privilige() returns incorrect info on temp tables  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Список pgsql-bugs
Frank van Vugt <ftm.van.vugt@foxi.nl> writes:
>> After you've created at least one temp table, you can look at the result
>> of "current_schemas(true)".  There's no guarantee that the schema even
>> exists before you've created something...

> Is there a guaranteed order of the resulting array, i.e. is this guaranteed to
> return the temp schema, given there is one:

>     'select (current_schemas(true))[1]'.....?

Yes, in the current implementation and for the foreseeable future (else
temp tables would fail to mask permanent tables).

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Frank van Vugt
Дата:
Сообщение: Re: has_table/schema_privilige() returns incorrect info on temp tables
Следующее
От: "Tanguy MOAL"
Дата:
Сообщение: BUG #2287: Probably a translation error