From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
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 19:25:45 |
Message-ID: | 40D49339.1010002@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
>[ switching to pghackers for wider comment ]
>
>Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>
>
>>By the way, I think that we should deny users the ability to create
>>tablespaces that begin with pg_. Also, the existing ones should be
>>pg_global and pg_default. That way, we have room to move if ever we
>>decide we want more system tablespaces. It also makes it easier to dump
>>non-system tablespaces.
>>
>>
>
>Seems like a reasonable suggestion to me. Any objections?
>
>BTW, another argument for this is that "default" is a reserved word.
>I'd already noticed in testing that CREATE TABLE ... TABLESPACE default
>doesn't work unless you double-quote "default". Calling it pg_default
>would avoid that annoyance.
>
>
CREATE .... TABLESPACE DEFAULT with default as keyword seems reasonable
too, with default -> pg_default.
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?
Regards,
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2004-06-19 20:10:10 | Re: Compiling libpq with VisualC |
Previous Message | Tom Lane | 2004-06-19 19:08:41 | Re: [PATCHES] Tablespace patch review |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2004-06-19 19:44:49 | Re: eventlog fix |
Previous Message | Andreas Pflug | 2004-06-19 19:11:30 | Re: Tablespace patch review |