From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Tablespace patch review |
Date: | 2004-06-19 23:24:29 |
Message-ID: | 22030.1087687469@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> I could think of cases where temporary schemas should go to a different
> tablespace, but AFAICS since these are created implicitely there's no
> way to redirect them. Maybe an additional attribute in pg_database for a
> default temp tablespace is desirable?
By default, temp tables will live in the database's default tablespace,
which is not necessarily the pg_default tablespace. (Hmm, there's
another good reason for renaming it ... if I'd said "default" tablespace
I'd have had to go out of my way to make it clear what I meant.) This
arguably is sufficient control. In any case, I'd prefer not to add a
knob to relocate temp stuff until there's proven need for it. We can
always add features later, but inventing stuff because somebody might
need it is a recipe for overdesign. (Remember that you can always
redirect a specific temp table to a specific tablespace when you
create it.)
The other thing I think people might possibly want to move around is
pg_largeobject. If Gavin finishes ALTER TABLE SET TABLESPACE (or
whatever we call it), that should provide a sufficient answer there.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Gavin Sherry | 2004-06-20 00:03:41 | Re: [PATCHES] Tablespace patch review |
Previous Message | Tom Lane | 2004-06-19 22:26:13 | Re: Minor DROP TABLESPACE issue |
From | Date | Subject | |
---|---|---|---|
Next Message | Gavin Sherry | 2004-06-20 00:03:41 | Re: [PATCHES] Tablespace patch review |
Previous Message | Dave Page | 2004-06-19 22:04:38 | Re: Cannot initdb in cvs tip |