Re: Tablespaces - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Tablespaces
Date
Msg-id 200403040241.i242fHI05299@candle.pha.pa.us
Whole thread Raw
In response to Re: Tablespaces  (Thomas Swan <tswan@idigx.com>)
List pgsql-hackers
Thomas Swan wrote:
> >The advantage of symlinks is that an administrator could see how things
> >are laid out from the command line.
> >
> >  
> >
> That's a poor reason to require symlinks.  The administrator can just as
> easily open up psql and query pg_tablespace to see that same
> information.  Besides, the postgres doesn't know where to look on the
> filesystem for the /path/to/oid without a system catalog lookup.  There
> doesn't seem to be any sensible reason to force a filesystem requirement
> when the core operations are diffferent to begin with. 
> 
> If a more global view of all databases is necessary, perhaps there ought
> to be a system wide view which could display all of that information at
> once: dbname, relation name, and physical location.

Who doesn't have symlinks these days, and is going to be using
tablespaces?  Even Win32 has them.

--  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: Thomas Swan
Date:
Subject: Re: Tablespaces
Next
From: Bruce Momjian
Date:
Subject: 7.4.2 branding