Re: trigger functions broken? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: trigger functions broken?
Date
Msg-id 603c8f070810081138s427edfd8n72679d45d701a64c@mail.gmail.com
Whole thread Raw
In response to trigger functions broken?  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: trigger functions broken?
Next
From: "A. Kretschmer"
Date:
Subject: Re: trigger functions broken?