Re: regclass, \d command and temp tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: regclass, \d command and temp tables
Дата
Msg-id 268.1281367007@sss.pgh.pa.us
обсуждение исходный текст
Ответ на regclass, \d command and temp tables  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: regclass, \d command and temp tables  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> I have created regular table t1 and temp table t1. Regclass and \d
> command do not seem to distinguish them. Is this normal?

It works for me.  Are you using clean sources?

regression=# create table t1(i int);
CREATE TABLE
regression=# select 't1'::regclass::oid; oid   
--------127671
(1 row)

regression=# create temp table t1(i int, j int);
CREATE TABLE
regression=# select 't1'::regclass::oid; oid   
--------127674
(1 row)

        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: is syntax columname(tablename) necessary still?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: is syntax columname(tablename) necessary still?