creating a view that shows relation name -> OID

Поиск
Список
Период
Сортировка
От Kevin T. Manley
Тема creating a view that shows relation name -> OID
Дата
Msg-id 98lm1f$5cc$1@news.tht.net
обсуждение исходный текст
Ответы Re: creating a view that shows relation name -> OID
Re: creating a view that shows relation name -> OID
Список pgsql-general
This works:

select pg_class.oid, relname from pg_class where relowner=27;

but this:

CREATE VIEW VW_FOO AS select pg_class.oid, relname from pg_class where
relowner=27;

fails with:

Attribute 'oid' has a name conflict
Name matches an existing system attribute

How come?

TIA
Kevin






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