From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
Subject: | Re: Big 7.1 open items |
Date: | 2000-06-21 04:06:42 |
Message-ID: | 2999.961560402@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I recommend making a dbname in each directory, then putting the
> location inside there.
This still seems backwards to me. Why is it better than tablespace
directory inside database directory?
One significant problem with it is that there's no longer (AFAICS)
a "default" per-database directory that corresponds to the current
working directory of backends running in that database. Thus,
for example, it's not immediately clear where temporary files and
backend core-dump files will end up. Also, you've just added an
essential extra level (if not two) to the pathnames that backends will
use to address files.
There is a great deal to be said for
..../database/tablespace/filename
where .../database/ is the working directory of a backend running in
that database, so that the relative pathname used by that backend to
get to a table is just tablespace/filename. I fail to see any advantage
in reversing the pathname order. If you see one, enlighten me.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-06-21 04:33:01 | Re: Big 7.1 open items |
Previous Message | Bruce Momjian | 2000-06-21 03:46:23 | Re: Big 7.1 open items |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-06-21 04:33:01 | Re: Big 7.1 open items |
Previous Message | Bruce Momjian | 2000-06-21 03:46:23 | Re: Big 7.1 open items |