| От | Scott Marlowe |
|---|---|
| Тема | Re: Make a SQL statement not run trigger |
| Дата | |
| Msg-id | dcc563d10708211601n3bb0f9dald53423f3837f8849@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Make a SQL statement not run trigger (Jon Collette <jon@etelos.com>) |
| Список | pgsql-sql |
On 8/21/07, Jon Collette <jon@etelos.com> wrote: > I think this will work for what I need. I have been messing around with > this using select into > > /select True as donothing into temporary table table_trigger_name; > then run statement that I want to be ignored > / > The trigger would have a select upon the table_trigger_name to determine > if it should run or not. I am having issues catching the exception when > the table is not found. > Note that if you use temp tables much, you need to make sure that autovacuum is up and running (or vacuum regularly) to keep the system catalogs from getting bloated. Just FYI.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера