Re: fix "Success" error messages

2019-11-21 Thread TAKATSUKA Haruka
On Thu, 21 Nov 2019 10:40:36 +0100 Peter Eisentraut wrote: > On 2019-11-21 02:42, TAKATSUKA Haruka wrote: > > FATAL: could not access status of transaction .. > > DETAIL: Could not read from file (pg_clog/ or pg_xact/) ...: > > Success. > > > > This error has caused the server to

Re: fix "Success" error messages

2019-11-21 Thread Peter Eisentraut
On 2019-11-21 02:42, TAKATSUKA Haruka wrote: FATAL: could not access status of transaction .. DETAIL: Could not read from file (pg_clog/ or pg_xact/) ...: Success. This error has caused the server to fail to start with recovery. I got a report that it happend repeatedly at the newly

Re: fix "Success" error messages

2019-11-20 Thread TAKATSUKA Haruka
Hello, pgsql-hackers I'm gathering information about the following error. FATAL: could not access status of transaction .. DETAIL: Could not read from file (pg_clog/ or pg_xact/) ...: Success. This error has caused the server to fail to start with recovery. I got a report that it happe

Re: fix "Success" error messages

2019-09-27 Thread Bruce Momjian
On Tue, Sep 3, 2019 at 08:38:22AM +0200, Peter Eisentraut wrote: > On 2019-08-27 08:27, Michael Paquier wrote: > > Thanks for the new patch, and you are right that pg_checksums has been > > slacking here. There is the same issue with pg_verify_checksums in > > 11. Not sure that's worth a back-pa

Re: fix "Success" error messages

2019-09-02 Thread Peter Eisentraut
On 2019-08-27 08:27, Michael Paquier wrote: > Thanks for the new patch, and you are right that pg_checksums has been > slacking here. There is the same issue with pg_verify_checksums in > 11. Not sure that's worth a back-patch though. Those parts could > find their way to v12 easily. Committed

Re: fix "Success" error messages

2019-08-26 Thread Michael Paquier
On Mon, Aug 26, 2019 at 09:40:23PM +0200, Peter Eisentraut wrote: > Here is an updated patch set that rearranges this a bit according to > your suggestions, and also fixes some similar issues in pg_checksums. Thanks for the new patch, and you are right that pg_checksums has been slacking here. Th

Re: fix "Success" error messages

2019-08-26 Thread Peter Eisentraut
On 2019-06-19 04:51, Michael Paquier wrote: > On Tue, Jun 18, 2019 at 09:13:19AM -0700, Shawn Debnath wrote: >>> case SLRU_WRITE_FAILED: >>> ereport(ERROR, >>> (errcode_for_file_access(), >>> er

Re: fix "Success" error messages

2019-06-18 Thread Michael Paquier
On Tue, Jun 18, 2019 at 09:13:19AM -0700, Shawn Debnath wrote: >> case SLRU_WRITE_FAILED: >> ereport(ERROR, >> (errcode_for_file_access(), >> errmsg("could not access status of >> transacti