Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: tablespace-mkdir.patch
Description: text/x-patch (2.7 KB)

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group