Re: Executing a Function with an INSERT INTO command fails - Mailing list pgsql-general

From Tom Lane
Subject Re: Executing a Function with an INSERT INTO command fails
Date
Msg-id 21059.1535560387@sss.pgh.pa.us
Whole thread Raw
In response to RE: Executing a Function with an INSERT INTO command fails  (TalGloz <glozmantal@gmail.com>)
Responses Re: Executing a Function with an INSERT INTO command fails
List pgsql-general
TalGloz <glozmantal@gmail.com> writes:
> This is very strange, even if I comment all the loops in the function and
> leave only the INSERT INTO command the insert still doesn't happen.

Maybe you're rolling back the transaction after leaving the function?

            regards, tom lane


pgsql-general by date:

Previous
From: TalGloz
Date:
Subject: RE: Executing a Function with an INSERT INTO command fails
Next
From: "David G. Johnston"
Date:
Subject: Re: Executing a Function with an INSERT INTO command fails