SPI question re elog() and aborted transactions? - Mailing list pgsql-general

From Ed L.
Subject SPI question re elog() and aborted transactions?
Date
Msg-id 200304141627.10447.pgsql@bluepolka.net
Whole thread Raw
Responses Re: SPI question re elog() and aborted transactions?  ("Ed L." <pgsql@bluepolka.net>)
List pgsql-general
I have a C trigger function using SPI.  It's purpose is never more important
than the transaction itself, so I don't ever want the C function to abort
the transaction under any circumstances.

Can I accomplish this by simply never calling elog(ERROR, ...)?  (And not
crashing or doing anything else programmatically mischievous, of course).

Ed


pgsql-general by date:

Previous
From: Alec Mitchell
Date:
Subject: Re: Strange query optimization in 7.3.2
Next
From: "Ed L."
Date:
Subject: Re: SPI question re elog() and aborted transactions?