Re: pg_archivecleanup bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_archivecleanup bug
Date
Msg-id 5024.1395199508@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_archivecleanup bug  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Would people accept?

>     for (errno = 0; (dirent = readdir(dir)) != NULL; errno = 0)

It's a bit weird looking, but I agree that there's value in only needing
the errno-zeroing in precisely one place.
        regards, tom lane



pgsql-hackers by date:

Previous
From: "Wang, Jing"
Date:
Subject: Re: issue log message to suggest VACUUM FULL if a table is nearly empty
Next
From: "Prabakaran, Vaishnavi"
Date:
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission