Re: BUG #17543: CSVLOG malformed from disk space error - Mailing list pgsql-bugs

From Kyotaro Horiguchi
Subject Re: BUG #17543: CSVLOG malformed from disk space error
Date
Msg-id 20220713.130915.1705049654649862003.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: BUG #17543: CSVLOG malformed from disk space error  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
At Tue, 12 Jul 2022 17:48:53 -0700, Andres Freund <andres@anarazel.de> wrote in 
> It might be possible to devise a scheme in which we force rotation in cases
> where corruption might have occurred?

It would be cumbersome to generate unique names for new files then let
the server grab the newest file at restart. I'm not sure what happens
if many files are quickly generated due to ENOSPC. (Maybe fills-up the
dirent then moves to another failure mode..)

Considering how often that can happen, I would choose to make the
reader function robust or to fix the file manually..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #17543: CSVLOG malformed from disk space error
Next
From: Yura Sokolov
Date:
Subject: Re: can't drop table due to reference from orphaned temp function