RE: [HACKERS] [hackers]development suggestion needed

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>, "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>, <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <xun(at)cs(dot)ucsb(dot)edu>, <pgsql-hackers(at)postgreSQL(dot)org>
Subject: RE: [HACKERS] [hackers]development suggestion needed
Date: 2000-01-14 05:25:32
Message-ID: 3.0.1.32.20000113212532.01085600@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 01:34 PM 1/14/00 +0900, Hiroshi Inoue wrote:

>I agree with Tatsuo though I prefer
> create table t1 (i int) tablespace foo;
>.
>Isn't it preferable to encapsulate the table location and storage type ?

Encapsulation is almost always preferable, but I don't think Tatsuo was
saying otherwise, merely pointing out a clever trick that I hadn't
though of (I didn't realize that "/foo" would be rooted rather than
just put under PGDATA, in fact I stay away from quoted non-SQL non-"normal
language" identifiers altogether, being somewhat interested in portability
of my application code).

And it is a clever trick...obvious to an insider, but not to me.

>At first,a tablespace would only correspond to a directory and it won't
>be so difficult to implment. But we would gain a lot with the feature.

>In the future,the tablespace may be changed to mean real(??)
>tablespace.

I think the decision to keep the mechanism for providing separate
storage mangers was a good one (if I understand correctly that there
was once consideration of removing it). Even if it is never used in
mainstream Postgres, some specialty application may use it, one of
the potentials that comes from open source software.

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2000-01-14 05:31:41 Re: Multiple Spindles ( Was: Re: [HACKERS] [hackers]development suggestion needed )
Previous Message Don Baccus 2000-01-14 05:21:11 Re: [HACKERS] [hackers]development suggestion needed