Re: lastval()

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: lastval()
Дата
Msg-id Pine.LNX.4.44.0505090605450.7072-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: lastval()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Sun, 8 May 2005, Tom Lane wrote:

> Why is that a good idea?  In a complex application it'd be awfully easy
> to break logic that depends on such a thing.

Of course it can break. currval() can also break in a complex application
with triggers and rules that do things the developer does not expect.

There are however lots of cases where it is safe and useful. Not the least
when you want to port an application that uses similar features.

--
/Dennis Björklund


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

Предыдущее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: [HACKERS] read-only database
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Re: lastval()