Re: Improve shutdown during online backup, take 3 - Mailing list pgsql-patches

From Albe Laurenz
Subject Re: Improve shutdown during online backup, take 3
Date
Msg-id D960CB61B694CF459DCFB4B0128514C202043A03@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: Improve shutdown during online backup, take 3  (Magnus Hagander <magnus@hagander.net>)
List pgsql-patches
Magnus Hagander wrote:
> This doesn't look like our normal coding standards, and should probably
> be changed:
> +     if (0 != stat(BACKUP_LABEL_FILE, &stat_buf))
>
> (there's a number of similar places)

Lacking guidelines, I now tried to copy how stat(2) is used in other parts
of the code.

Yours,
Laurenz Albe


Attachment

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Snapshot management, final
Next
From: Magnus Hagander
Date:
Subject: Re: Improve shutdown during online backup, take 4