Re: protocol support for labels

Поиск
Список
Период
Сортировка
От Jeremy Schneider
Тема Re: protocol support for labels
Дата
Msg-id 20250312233957.5f76c7a5@ardentperf.com
обсуждение исходный текст
Ответ на Re: protocol support for labels  (Nico Williams <nico@cryptonector.com>)
Ответы Re: protocol support for labels
Список pgsql-hackers
On Tue, 11 Mar 2025 14:03:12 -0500
Nico Williams <nico@cryptonector.com> wrote:
> How about using a `set_config()` to deonte the "application_name" (and
> any other details) for the _next_ query, then have those details
> appear in the pg_stat_statements rows and logs?
> 
> Clients would send a `SELECT set_config(...)` and also the next query
> one after the other without waiting for the response to the first.
> The server could similarly batch the two responses.

Isn't multiple queries in one packet only possible with the simple
protocol, but not possible with the extended protocol? So this would be
entirely incompatible with prepared/parameterized statements?

-Jeremy




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