Auto create (top level) directory for create tablespace

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: pgsql-patches(at)postgresql(dot)org
Subject: Auto create (top level) directory for create tablespace
Date: 2007-12-15 23:19:03
Message-ID: 476460E7.9060009@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I thought it made sense for CREATE TABLESPACE to attempt to create the
top level location directory - and also for tablespace redo to do
likwewise during WAL replay.

Tablespace creation then behaves a bit more like intidb with respect to
directory creation, which I found quite nice.

Patch against HEAD, passes regression tests.

Cheers

Mark

Attachment Content-Type Size
tablespace-mkdir.patch text/x-patch 2.7 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-12-16 03:28:02 Re: Auto create (top level) directory for create tablespace
Previous Message Andrew Dunstan 2007-12-14 15:47:02 Re: [HACKERS] buildenv.pl/buildenv.bat