Re: Avoid scanning on tape - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Avoid scanning on tape
Date
Msg-id 6389.1202758077@sss.pgh.pa.us
Whole thread Raw
In response to Avoid scanning on tape  (Manolo _ <mac_man2005@hotmail.it>)
Responses Re: Avoid scanning on tape  (Manolo _ <mac_man2005@hotmail.it>)
List pgsql-hackers
Manolo _ <mac_man2005@hotmail.it> writes:
> I would like to store the "address on tape" of the first and the last tuple for the run I'm currently creating on a
specifictape.
 
> I need it in order to access directly to those two tuples right after terminating the creation of that specific run.

Why don't you just hold those two tuples in memory (ie, track the first
and latest-so-far tuples of each run)?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Manolo _
Date:
Subject: Avoid scanning on tape
Next
From: Manolo _
Date:
Subject: Re: Avoid scanning on tape