Thread: Nesting level in protocol?

Nesting level in protocol?

From
Alvaro Herrera
Date:
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)



Re: Nesting level in protocol?

From
Oliver Jowett
Date:
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