Re: replication connection and multi-command queries - Mailing list pgsql-novice

From David G. Johnston
Subject Re: replication connection and multi-command queries
Date
Msg-id CAKFQuwZ-t-oMRwf+MZ5rtHyuJ6yhjJkiHWQ0jiOKHMt-oX-H8Q@mail.gmail.com
Whole thread Raw
In response to Re: replication connection and multi-command queries  (Greg Rychlewski <greg.rychlewski@gmail.com>)
Responses Re: replication connection and multi-command queries
List pgsql-novice
On Sun, Jan 23, 2022 at 5:24 PM Greg Rychlewski <greg.rychlewski@gmail.com> wrote:
Thanks for your reply. To give more context: I am contributing to a Postgres driver used by a programming language. We are currently trying to understand what is legal/not legal to be sent through this connection. 

In the documentation it states that the simple query protocol is followed on these connections, which is why we assumed a multi-command statement would work. I just wanted to make sure we are not doing anything wrong and that it is disallowed by design. We can, for instance, send "SELECT 1;" and receive a result.


Please don't top-post.  The convention on these lists is to inline post.

If you are interacting at the protocol layer you probably should be posting to -hackers, not -novice.

David J.

pgsql-novice by date:

Previous
From: Greg Rychlewski
Date:
Subject: Re: replication connection and multi-command queries
Next
From: "David G. Johnston"
Date:
Subject: Re: replication connection and multi-command queries