Re: Rule problem: return value of insert

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rule problem: return value of insert
Дата
Msg-id 21454.1137531585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rule problem: return value of insert  (Stephen Friedrich <stephen.friedrich@fortis-it.de>)
Список pgsql-general
Stephen Friedrich <stephen.friedrich@fortis-it.de> writes:
> Or do you mean that the last rule that
> gets evaluated will determine the result, even if it's where clause evaluates
> to false?

Right.  In effect, the last one in alphabetical order will always
determine the result, whether it's the one that does the useful insert
or not.

> Thanks I'll try that. Yet I have only some dozen cdrs at any time, so
> I doubt it will make a big difference?

Perhaps not, but it's worth checking.

            regards, tom lane

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

Предыдущее
От: David Rysdam
Дата:
Сообщение: prepared statement results don't clear?
Следующее
От: Vishal Dixit
Дата:
Сообщение: pg_dump throws no buffer space available error