| От | Dmitry Tkach |
|---|---|
| Тема | Re: [BUGS] INSTEAD rule bug? |
| Дата | |
| Msg-id | 3F14333F.1070409@openratings.com обсуждение исходный текст |
| Ответ на | Re: [BUGS] INSTEAD rule bug? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [BUGS] INSTEAD rule bug?
|
| Список | pgsql-general |
Tom Lane wrote: >Oh, I see what you're on about. Sorry, a "DO INSTEAD NOTHING" only >suppresses the original command, it does not suppress other rules. >I think what you want is to make the insert_test rule conditional >on x being not null. > > > Yeah... that's what I was afraid of :-( The problem is that in the 'real life' situation the condition is a lot more complicated than this simple is null test... I hate having to duplicate it, and I hate even more having to evaluate it twice on every insert :-( Dima
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера