Re: Replication protocol doc fix - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Replication protocol doc fix
Date
Msg-id 805393.1623878742@sss.pgh.pa.us
Whole thread Raw
In response to Re: Replication protocol doc fix  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> One thing I don't fully understand is what would happen if the client
> issued the Sync as the *first* message in an extended-protocol series.

That'd cause the backend to send ReadyForQuery, which'd likely
confuse the client.

> But I think you're correct in saying that the discard-until-Sync
> behavior only happens if the extended query protocol is used,

Certainly, because otherwise there is no Sync.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Replication protocol doc fix
Next
From: Thomas Munro
Date:
Subject: Re: A qsort template