Re: Discarding DISCARD ALL
От | Peter Eisentraut |
---|---|
Тема | Re: Discarding DISCARD ALL |
Дата | |
Msg-id | 6d9c5bbd-4eb5-f27b-0487-e3ceaf05e214@enterprisedb.com обсуждение исходный текст |
Ответ на | Discarding DISCARD ALL (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: Discarding DISCARD ALL
|
Список | pgsql-hackers |
On 2020-12-23 15:33, Simon Riggs wrote: > Poolers such as pgbouncer would then be able to connect transaction > mode pools by setting transaction_cleanup=on at time of connection, > avoiding any need to issue a server_reset_query, removing the DISCARD > ALL command from the normal execution path, while still achieving the > same thing. PgBouncer does not send DISCARD ALL in transaction mode. There is a separate setting to do that, but it's not the default, and it's more of a workaround for bad client code. So I don't know if this feature would be of much use for PgBouncer. Other connection poolers might have other opinions.
В списке pgsql-hackers по дате отправления: