Re: Add Pipelining support in psql
| От | Daniel Verite |
|---|---|
| Тема | Re: Add Pipelining support in psql |
| Дата | |
| Msg-id | 9aa66158-13c3-4f57-8367-ddf6f392fca7@manitou-mail.org обсуждение исходный текст |
| Ответ на | Re: Add Pipelining support in psql (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>) |
| Ответы |
Re: Add Pipelining support in psql
|
| Список | pgsql-hackers |
Anthonin Bonnefoy wrote: > 0002: Allows ';' to send a query using extended protocol when within a > pipeline by using PQsendQueryParams It's a nice improvement! > with 0 parameters. It is not > possible to send parameters with extended protocol this way and > everything will be propagated through the query string, similar to a > simple query. It's actually possible to use parameters \startpipeline \bind 'foo' select $1; \endpipeline ?column? ---------- foo (1 row) I suspect there's a misunderstanding that \bind can only be placed after the query, because it's always written like that in the regression tests, and in the documentation. But that's just a notational preference. Best regards, -- Daniel Vérité https://postgresql.verite.pro/
В списке pgsql-hackers по дате отправления: