Nesting level in protocol?

Started by Alvaro Herreraover 21 years ago2 messages
#1Alvaro Herrera
alvherre@dcc.uchile.cl

Hackers,

Is there a way to add the current transaction nesting level in the be/fe
protocol without breaking compatibility? AFAICS the ReadyForQuery
message is not expansible (sp?) :-(

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The problem with the future is that it keeps turning into the present"
(Hobbes)

#2Oliver Jowett
oliver@opencloud.com
In reply to: Alvaro Herrera (#1)
Re: Nesting level in protocol?

Alvaro Herrera wrote:

Hackers,

Is there a way to add the current transaction nesting level in the be/fe
protocol without breaking compatibility? AFAICS the ReadyForQuery
message is not expansible (sp?) :-(

Perhaps you could treat the nesting level as a runtime parameter and
generate a ParameterStatus message whenever it changes? (and "SHOW
nesting_level" sounds useful anyway)

-O