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

Re: create tablespace fails silently, or succeeds improperly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Dave Cramer <pg(at)fastcrypt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: create tablespace fails silently, or succeeds improperly
Date: 2010-12-11 15:56:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Robert Haas (robertmhaas(at)gmail(dot)com) wrote:
>> On Fri, Dec 10, 2010 at 10:33 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Anybody have a problem with adopting this behavior?

>> Seems a bit surprising.

> Yeahh..  I'm not really sure about mkdir -p type actions from a SQL
> command.  Not entirely sure why but it doesn't feel 'right' to me.  I'd
> rather have PG complain "that directory doesn't exist".

OK.  Is there any value in doing mkdir -p in WAL-recovery execution of
CREATE TABLESPACE but not regular execution?

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2010-12-11 16:13:12
Subject: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Previous:From: Dmitriy IgrishinDate: 2010-12-11 15:28:20
Subject: Re: proposal: auxiliary functions for record type

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