Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 50742aed68b7a3a8d1a0c8ef8d970c97fc74dd9b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-29T21:08:48Z
Releases: 8.0.0
Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.
Fix TablespaceCreateDbspace() to be able to create a dummy directory
in place of a dropped tablespace's symlink.  This eliminates the open
problem of a PANIC during WAL replay when a replayed action attempts
to touch a file in a since-deleted tablespace.  It also makes for a
significant improvement in the usability of PITR replay.

Files