Re: trigger functions broken?
От | Robert Haas |
---|---|
Тема | Re: trigger functions broken? |
Дата | |
Msg-id | 603c8f070810081138s427edfd8n72679d45d701a64c@mail.gmail.com обсуждение исходный текст |
Ответ на | trigger functions broken? (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-hackers |
I get the same thing on 8.2.9. ...Robert On Wed, Oct 8, 2008 at 2:29 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote: > Hi, > > Trigger functions are supposed to be able to be called only as triggers, > but apparently the check is not working in CVS HEAD: > > alvherre=# create or replace function foo () returns trigger as $$ begin perform 1; return new; end; $$ language plpgsql; > CREATE FUNCTION > alvherre=# select foo(); > foo > ----- > > (1 fila) > > > -- > Alvaro Herrera http://www.CommandPrompt.com/ > PostgreSQL Replication, Consulting, Custom Development, 24x7 support > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers >
В списке pgsql-hackers по дате отправления: