[PATCH] Recreate Missing WAL Directories (from TODO) - Mailing list pgsql-hackers

From Jonah H. Harris
Subject [PATCH] Recreate Missing WAL Directories (from TODO)
Date
Msg-id 36e682920811081225g7e4952b7te7ead97a5c4a29e9@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Recreate Missing WAL Directories (from TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
When performing a PITR copy of a data cluster, the pg_xlog directory
is generally omitted.  As such, when starting the copy up for
replay/recovery, the WAL directories need to be recreated.  This patch
checks to see whether XLOGDIR and XLOGDIR/archive_status exist on
XLOGStartup and if not, recreates them.

--
Jonah H. Harris, Senior DBA
myYearbook.com

Attachment

pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: TABLE command
Next
From: Ron Mayer
Date:
Subject: Re: Patch for SQL-Standard Interval output and decoupling DateStyle from IntervalStyle