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: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: create tablespace fails silently, or succeeds improperly
Date: 2010-10-18 15:37:44
Message-ID: 20408.1287416264@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> as seen below create tablespace does not throw an error or appear to
> do anything other than register the tablespace.

I suspect this behavior is partially intentional, because tablespace
creation now involves an extra level of subdirectory.  However, it's
not clear to me why CREATE TABLESPACE is still changing the permissions
on the parent directory.  Bruce, exactly what is the rationale here?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-10-18 15:56:16
Subject: Re: ISN patch that applies cleanly with git apply
Previous:From: Alvaro HerreraDate: 2010-10-18 15:31:12
Subject: Re: create tablespace fails silently, or succeeds improperly

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