Re: tablespace and sequences?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tablespace and sequences?
Date: 2004-08-17 15:16:52
Message-ID: 200408171516.i7HFGqc02169@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

Fabien COELHO wrote:
>
> Dear hackers,
>
> Some minor comments about the new tablespace feature in 8.0beta1:
>
> It seems to me that tablespaces and sequences are not yet prefectly
> integrated.
>
> (1) the "CREATE SEQUENCE foo TABLESPACE disk2" syntax does not seem
> to be implemented.
>
> (2) when creating an implicit sequence with SERIAL, the sequence
> is created in the tablespace of the schema/database, not the one
> of the table, although indexes are added to the tablespace
> of the table. It would seem more logical to put it in
> the same table space as the table by default?

We decided it didn't make much sense to allow the on-row sequences to be
anywhere but the default tablespace.

> (3) psql auto completion does not have "CREATE/DROP TABLESPACE" in
> its list.
>
> Maybe these non-important issues could be added to the TODO list.
> I've noticed some todos about tablespaces, but not these.

Yep, in patch queue.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2004-08-17 15:17:26 Re: tablespace and sequences?
Previous Message Fabien COELHO 2004-08-17 15:09:34 Re: tablespace and sequences?

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-17 15:17:26 Re: tablespace and sequences?
Previous Message Fabien COELHO 2004-08-17 15:09:34 Re: tablespace and sequences?

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-08-17 15:17:26 Re: tablespace and sequences?
Previous Message Bruce Momjian 2004-08-17 15:15:36 Re: [PATCHES] GUC variables invisible to contrib/