Hello.

 When I create next function:

        create function pilpot() returns integer as '
                declare
                        foo integer;
                begin
                        foo = insert into aviso(user) values(1);
                        return foo;
                end;
        ' language 'plpgsql';

 And try to invoque with:

        # select pilpot();

 I get next error:

        ERROR: parser: parse error at or near "("

 Where is the problem with this?

 Thanks a lot.

                                                                David

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to