Re: Slowness of extended protocol

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: Slowness of extended protocol
Дата
Msg-id CAB=Je-FzPCQuwzrt4ZT8bHWpFYazKiCMs0MN9WCGgBFviRPqsQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Slowness of extended protocol  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Ответы Re: Slowness of extended protocol  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Tatsuo>understanding it always uses unnamed portal even if the SQL is like
"BEGIN" or "COMMIT" (no parameters). They are too often used. Why not
doing like this?

Does it actually work?

The documentation says named portals last till the end of the transaction:

https://www.postgresql.org/docs/9.5/static/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY 

doc>If successfully created, a named portal object lasts till the end of the current transaction, unless explicitly destroyed

Vladimir

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Exporting more function in libpq
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Password identifiers, protocol aging and SCRAM protocol