Weird error message in SQL function call - Mailing list pgsql-general

From Vincenzo Romano
Subject Weird error message in SQL function call
Date
Msg-id 200707161203.43551.vincenzo.romano@gmail.com
Whole thread Raw
Responses Re: Weird error message in SQL function call  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hi all.

I've got this error message while running an SQL function:

---- BEGIN
psql:filtb.sql:1029: ERROR:  COMMIT is not allowed in a SQL function
CONTEXT:  SQL function "f_relazione" during startup
funzione SQL "f_relazione" istruzione 1
----  END

Of course, I have no COMMIT command either in the function itself or
in any other function called by f_relazione().
In the syslog I see that this is labelled as error #0A000 "Feature not
supported".

Is there any hint?

--
Vincenzo Romano
--
Maybe Computer will never become as intelligent as Humans.
For sure they won't ever become so stupid. [VR-1988]

pgsql-general by date:

Previous
From: Koen Vermeer
Date:
Subject: Re: Force SSL / username combination
Next
From: Richard Huxton
Date:
Subject: Re: Weird error message in SQL function call