[PATCH] Recreate Missing WAL Directories (from TODO)

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Pg Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Recreate Missing WAL Directories (from TODO)
Date: 2008-11-08 20:25:14
Message-ID: 36e682920811081225g7e4952b7te7ead97a5c4a29e9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
arcstatdir.patch application/octet-stream 2.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Mayer 2008-11-08 20:30:30 Re: Patch for SQL-Standard Interval output and decoupling DateStyle from IntervalStyle
Previous Message Robert Haas 2008-11-08 20:17:34 Re: TABLE command