Re: tablespace and sequences? - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: tablespace and sequences?
Date
Msg-id Pine.LNX.4.58.0408171722300.30419@sablons.cri.ensmp.fr
Whole thread Raw
In response to Re: tablespace and sequences?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: tablespace and sequences?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: tablespace and sequences?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Dear Bruce,

> > (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.

Hmmm...

I can understand the performance/utility rationale, but I don't like the
lack of orthogonality on principle. I like elegance;-) As a sequence looks
a lot like a table, I guess it should not be that hard to have it anyway.

Well, just my little opinion, and not a big issue.

Thanks for your answer.

-- 
Fabien Coelho - coelho@cri.ensmp.fr


pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: LDFLAGS vs. shared libraries
Next
From: Bruce Momjian
Date:
Subject: Re: tablespace and sequences?