Re: Re: postgres TODO

Поиск
Список
Период
Сортировка
От Mark Hollomon
Тема Re: Re: postgres TODO
Дата
Msg-id 396A0529.E94F09BC@americasm01.nt.com
обсуждение исходный текст
Ответ на Re: Re: postgres TODO  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom Lane wrote:
> it.  We already return the OID which is sufficient info to select the
> row again if you need it.  Returning the primary key would be
> considerably more work for no visible gain in functionality...

But OID is not available for views. I have already run into
this situation. I have a view which is a join across 3 tables.
two of the underlying tables have serial fields as primary keys.

INSERT ... RETURNING ... would be very nice indeed.

-- 

Mark Hollomon
mhh@nortelnetworks.com
ESN 451-9008 (302)454-9008


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

Предыдущее
От: Richard Nfor
Дата:
Сообщение: psql mode for emacs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Distribution making