Re: Return value of CREATE TABLE

Поиск
Список
Период
Сортировка
От Christoph Moench-Tegeder
Тема Re: Return value of CREATE TABLE
Дата
Msg-id 20200910121652.GA25488@elch.exwg.net
обсуждение исходный текст
Ответ на Return value of CREATE TABLE  (Mike Martin <redtux1@gmail.com>)
Ответы Re: Return value of CREATE TABLE  (Mike Martin <mike@redtux.plus.com>)
Список pgsql-general
## Mike Martin (redtux1@gmail.com):

> So basically I would like to be able to know what namespace a temp table is
> created in, so that I can constrain lookup.

pg_my_temp_schema() returns the OID of the session's temporary schema
("or 0 if none", according to the docs).

Regards,
Christoph

-- 
Spare Space



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

Предыдущее
От: Nicolas Sornin
Дата:
Сообщение: PG13 partitioned table logical replication
Следующее
От: Mike Martin
Дата:
Сообщение: Re: Return value of CREATE TABLE