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 200707161157.58084.Vincenzo.Romano@notorand.it
Whole thread Raw
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 -= NotOrAnd.IT Information Technologies =-
tel +39 0823 454163 | cel +39 339 8083886 | fax +39 02 700506964
<Smooth seas never make experienced sailormen>

pgsql-general by date:

Previous
From: paddy carroll
Date:
Subject: SMTP
Next
From: Siah
Date:
Subject: How to Cluster an Index live?