Re: Bug in PL/pgSQL GET DIAGNOSTICS? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug in PL/pgSQL GET DIAGNOSTICS?
Date
Msg-id 28017.1032988431@sss.pgh.pa.us
Whole thread Raw
In response to Bug in PL/pgSQL GET DIAGNOSTICS?  ("Michael Paesold" <mpaesold@gmx.at>)
List pgsql-hackers
"Michael Paesold" <mpaesold@gmx.at> writes:
> I have come across a problem (bug?) with PL/pgSQL GET DIAGNOSTICS.

Hm.  This seems to be SPI's version of the same definitional issue
we're contending with for status data returned from an interactive
query: SPI is currently set up to return the status of the last
querytree it executes, which is probably the wrong thing to do in the
presence of rule rewrites.  But I'm hesitant to change SPI until we know
what we're going to do for interactive query status.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Cause of "can't wait without a PROC structure"
Next
From: "Michael Paesold"
Date:
Subject: Re: Bug in PL/pgSQL GET DIAGNOSTICS?