Re: create OR REPLACE rule bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: create OR REPLACE rule bug
Дата
Msg-id 20815.1131231726@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: create OR REPLACE rule bug  ("Mikael Carneholm" <Mikael.Carneholm@WirelessCar.com>)
Список pgsql-bugs
"Mikael Carneholm" <Mikael.Carneholm@WirelessCar.com> writes:
> However, the rule does not work as expected (but I have been warned, see
http://archives.postgresql.org/pgsql-general/2005-10/msg01902.php)

Once you do the DELETE, there is no OLD row anymore, so there is nothing
for the INSERT to do.

You might have better luck implementing this stuff as triggers.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: create OR REPLACE rule bug
Следующее
От: "Shaick"
Дата:
Сообщение: Re: BUG #2014: createdb and other client binaries core dumps