| От | Ragnar Hafstað |
|---|---|
| Тема | Re: Update on tables when the row doesn't change |
| Дата | |
| Msg-id | 1117028065.21252.27.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: Update on tables when the row doesn't change (Sebastian Böck <sebastianboeck@freenet.de>) |
| Ответы |
Re: Update on tables when the row doesn't change
|
| Список | pgsql-general |
On Wed, 2005-05-25 at 13:09 +0200, Sebastian Böck wrote: > Dawid Kuroczko wrote: > > > > > Be wary of the NULL values though. :) Either don't use them, add > > something like 'AND (text1 <> NEW.text1 OR text1 IS NULL OR NEW.text1 > > IS NULL)' or something more complicated. :) > > Thanks for the notice, but I have a special operator for this: > > CREATE OR REPLACE FUNCTION different (ANYELEMENT, ANYELEMENT) RETURNS and then there is the 'IS DISTINCT FROM' construct http://www.postgresql.org/docs/8.0/static/functions-comparison.html#AEN6094 gnari
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера