public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Rychlewski <[email protected]>
To: David G. Johnston <[email protected]>
Cc: pgsql-novice <[email protected]>
Subject: Re: replication connection and multi-command queries
Date: Sun, 23 Jan 2022 19:43:44 -0500
Message-ID: <CAKemG7WFJyv5crvXAJJYJOtAa-+odONeR0YaSa+szSk3f3XKww@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwaE6QhRrSPQoncxM5UtrikykW7Zjkx9RuNjyr7VmB0X2Q@mail.gmail.com>
References: <CAKemG7Vejiga7yx5qM9MO+9HXzuE4RJ4gcf1VXeXQfCY3tKPEw@mail.gmail.com>
	<CAKFQuwasupXG-4FNdge0wvDDxdJbH=kJia7Pi=6rZdgGMRyVmA@mail.gmail.com>
	<CAKemG7Xx01ZQ9NWTWtsQJBjzWZbHjPEhq6=gptq9aUh7skm8wg@mail.gmail.com>
	<CAKFQuwZ-t-oMRwf+MZ5rtHyuJ6yhjJkiHWQ0jiOKHMt-oX-H8Q@mail.gmail.com>
	<CAKFQuwaE6QhRrSPQoncxM5UtrikykW7Zjkx9RuNjyr7VmB0X2Q@mail.gmail.com>

On Sun, Jan 23, 2022 at 7:37 PM David G. Johnston <
[email protected]> wrote:

> On Sun, Jan 23, 2022 at 5:28 PM David G. Johnston <
> [email protected]> wrote:
>
>> On Sun, Jan 23, 2022 at 5:24 PM Greg Rychlewski <
>> [email protected]> 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.
>>
>>
> Or a -bug report.  It would be good to show the code you are using to
> provoke the error.  But I do see where we document the Simple Query
> Protocol and do not qualify it such that it doesn't take a multi-command
> message.
>
> David J.
>

Thank you. I will give those lists a shot. Apologies for the top-posting. I
think I did it properly this time but gmail is a bit weird. Apologies if
this is not inline either.


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: replication connection and multi-command queries
  In-Reply-To: <CAKemG7WFJyv5crvXAJJYJOtAa-+odONeR0YaSa+szSk3f3XKww@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox