Priority queue of tuples in PostgreSQL source code.

From: You Lun <youlun2000(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Priority queue of tuples in PostgreSQL source code.
Date: 2003-04-19 22:35:37
Message-ID: 20030419223537.19506.qmail@web11408.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-04-20 02:39:49 rename/unlink handling for Win32
Previous Message Tom Lane 2003-04-19 20:58:02 Re: [PERFORM] Foreign key performance