Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Mikheev, Vadim writes:
>> Do we need *both* database & tablespace to find table file ?!
>> Imho, database shouldn't be used...
> Then the system tables from different databases would collide.
I've been assuming that we would create a separate tablespace for
each database, which would be the location of that database's
system tables. It's probably also the default tablespace for user
tables created in that database, though it wouldn't have to be.
There should also be a known tablespace for the installation-wide tables
(pg_shadow et al).
With this approach tablespace+relation would indeed be a sufficient
identifier. We could even eliminate the knowledge that certain
tables are installation-wide from the bufmgr and below (currently
that knowledge is hardwired in places that I'd rather didn't know
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2000-06-27 21:05:49|
|Subject: Re: Is *that* why debugging backend startup is so hard!? |
|Previous:||From: Stephan Szabo||Date: 2000-06-27 20:10:00|
|Subject: Re: Proposal: More flexible backup/restore via pg_dump |