Re: is ErrorResponse possible on Sync?

2022-01-12 Thread Andrei Matei
Thanks! I work on CockroachDB - which is wire-compatible with Postgres - so I'm interested in what the server can and cannot do. > Uh ... I don't think Sync itself can fail. Any ErrorResponse you see > there is really from failure of some prior command. Hmm, this got me curious. If Sync itsel

is ErrorResponse possible on Sync?

2022-01-12 Thread Andrei Matei
Hello Postgres friends, I've got a question about the wire protocol; the relevant text in the docs seems a bit ambiguous to me. If the processing of a Sync message fails (e.g. because the commit of the current transaction fails), is the backend allowed to respond with an ErrorResponse, in addition