oid's in views.

Поиск
Список
Период
Сортировка
От Aasmund Midttun Godal
Тема oid's in views.
Дата
Msg-id 20011019030149.23206.qmail@ns.krot.org
обсуждение исходный текст
Ответы Re: oid's in views.  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
CREATE VIEW testview AS SELECT test.oid, tull FROM test;
ERROR:  Attribute 'oid' has a name conflict       Name matches an existing system attribute

I think this should be allowed, because if you do:
CREATE VIEW testview AS SELECT tull FROM test;

SELECT oid, tull FROM testview;

The oid column will always be blank. The oid column can never be used for anything usefull.

There are many workarounds to this problem - and I appreciate that altering this behaviour might be contradictory to
somedesign philosophy you may have. Just my comment that's all!
 




Aasmund Midttun Godal

aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46


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

Предыдущее
От: "David Allardyce"
Дата:
Сообщение: Table Constraints with NULL values
Следующее
От: Bhuvan A
Дата:
Сообщение: Need a VIEW without SUB-SELECT