Nesting level in protocol?

Поиск
Список
Период
Сортировка
Искать

Nesting level in protocol?

От:
Alvaro 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 ()
"The problem with the future is that it keeps turning into the present"
(Hobbes)


Re: Nesting level in protocol?

От:
Oliver Jowett <oliver@opencloud.com>
Дата:
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

FAQ