Making ParameterStatus available for more parameter types?

Поиск
Список
Период
Сортировка
От Shay Rojansky
Тема Making ParameterStatus available for more parameter types?
Дата
Msg-id CADT4RqADmhP-CySD8pCfFp0UtF+NgJcPmgP+3ri5gMu_vd_iRA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Making ParameterStatus available for more parameter types?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi everyone.

The ParameterStatus message is currently sent for a hard-wired set of parameters (http://www.postgresql.org/docs/current/static/protocol-flow.html#PROTOCOL-ASYNC).

Just wanted to let you know that making this more flexible would be a great help in driver implementation. Npgsql maintains its own view of the current statement_timeout parameter for various reasons; as long as the standard ADO.NET API is used to change the timeout everything is OK, but if the user ever manually sets statement_timeout things can become quite messy. Being able to subscribe to more parameter changes would help in this case. In the very short term simply adding statement_timeout to the hard-wired set would help me as well.

Thanks,

Shay


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yaroslav
Дата:
Сообщение: A little RLS oversight?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Generalized JSON output functions