Re: Tablespaces - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Tablespaces
Date
Msg-id 200403030424.i234ONA25927@candle.pha.pa.us
Whole thread Raw
In response to Re: Tablespaces  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
Richard Huxton wrote:
> On Thursday 26 February 2004 10:07, Gavin Sherry wrote:
> >
> > CREATE TABLESPACE tbl1 LOCATION '/var/'
> >
> > which will result in something like '/var/123443' is a bad idea. Then
> > again, the user should know better. Comments?
> 
> The LOCATION should have the same owner and permissions as $PGDATA - that 
> should catch mistyping.
> 
> Unless you're running as root, of course. In which case you clearly know 
> better than everyone else, so off you go!

FYI, you can't run the postmaster as root.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Tablespaces
Next
From: Bruce Momjian
Date:
Subject: Re: Tablespaces