Обсуждение: plpgsql triggers in rules

Поиск
Список
Период
Сортировка

plpgsql triggers in rules

От
chester c young
Дата:
is is possible for to have a "do instead" trigger on a view that is a
plpgsql function?

    
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



Re: plpgsql triggers in rules

От
Markus Schaber
Дата:
Hi, Chester,

chester c young wrote:
> is is possible for to have a "do instead" trigger on a view that is a
> plpgsql function?

Kinda.

They're called "rules", not "triggers". See
http://www.postgresql.org/docs/8.1/interactive/rules.html

HTH,
Schabi
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org