Hi,

I'm doing a small project modifying postgreSQL's LIMIT
processing. Is there any internal priority queue
implementation which can let me insert a tuple, delete
a tuple, and extract the maximum tuple? It's easy to
implement a priority queue in the memory, but it's
kind of overwhelming for me to deal with dataset
larger than memory.

Another way is to create an temporary table with an
index. How can I do this in the backend?

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com


Sat, 19 Apr 2003 15:35:37 -0700 (PDT)
You Lun <youlun2000@yahoo.com>
Priority queue of tuples in PostgreSQL source code.