Re: Scan by TID (was RE: [HACKERS] How to add a new build-in operator)

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Scan by TID (was RE: [HACKERS] How to add a new build-in operator)
Date: 1999-10-11 19:15:26
Message-ID: 199910111915.PAA00329@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
> > Yes,I have done a part of my story.
> > I would add new type of path and scan by which we are able to access
> > tids directly.
>
> Yes, new path type, new plan type, probably a new access method if
> you want to keep things clean in the executor, cost-estimation routines
> in the planner, etc. etc.
>
> Looks like a lot of work, and a lot of added code bulk that will
> have to be maintained. I haven't figured out why you think it's
> worth it... tids are so transient that I don't see much need for
> finding tuples by them...

Ingres has access by tid, and it does come in handy for quick-and-dirty
uses where you just want to snag a bunch of rows and operate on them
without too much fuss. I believe if we had it, some things internally
may prove to be easier with them accessible in a query.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-10-11 19:20:45 pginterface/pgeasy
Previous Message Bruce Momjian 1999-10-11 19:14:16 Re: Scan by TID (was RE: [HACKERS] How to add a new build-in operator)