Re: CREATE OR REPLACE TRIGGER not supported?
| От | Satoshi Nagayasu |
|---|---|
| Тема | Re: CREATE OR REPLACE TRIGGER not supported? |
| Дата | |
| Msg-id | 414552F8.8080409@nttdata.co.jp обсуждение исходный текст |
| Ответ на | Re: CREATE OR REPLACE TRIGGER not supported? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> And how often do you need to redefine a trigger (as opposed to its > underlying function), anyway? I just want to know why not supported. It's not a serious problem. Tom Lane wrote: > Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes: > >>>Is threre any reason not to support "CREATE OR REPLACE" >>>only for triggers? > > >>Because the oid of a trigger doesn't matter. You can go being; drop >>trigger; create trigger; commit; atomically. > > > And how often do you need to redefine a trigger (as opposed to its > underlying function), anyway? > > Sure, given infinite manpower we would support this. But it seems very > far down the to-do list to me. > > regards, tom lane > -- NAGAYASU Satoshi <nagayasus@nttdata.co.jp> OpenSource Development Center, NTT DATA Corp. http://www.nttdata.co.jp/
В списке pgsql-hackers по дате отправления: