Re: is ErrorResponse possible on Sync?

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Andrei Matei <andreimatei1(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: is ErrorResponse possible on Sync?
Date: 2022-01-12 18:03:17
Message-ID: CAB=Je-Ggkuw_fLFVZwmbk5xZAmSaiMJiA6SPQRxUeL5LxpPijA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>Or, does the backend swallow the error, and return only the ReadyForQuery
(I hope not).

What is your backend version?

Here's a well-known case when the backend did swallow the error:
"Error on failed COMMIT"
https://www.postgresql.org/message-id/b9fb50dc-0f6e-15fb-6555-8ddb86f4aa71%40postgresfriends.org

I don't remember if the behavior has been fixed or not.
The expected behavior was "commit" returned "rollback" status without any
error.

Vladimir

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-01-12 18:05:04 Re: is ErrorResponse possible on Sync?
Previous Message Andrei Matei 2022-01-12 17:52:50 is ErrorResponse possible on Sync?