From: Jodi Kanter <jkanter@virginia.edu>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: list ranking
Date: Fri, 13 Jun 2003 15:00:39 -0400
Message-ID: <3EEA1F57.1070002@virginia.edu> (raw)
We have a set of records in a table that needs to be ranked. We thought
of adding a ranking field, but the problem is that the ranking could
change often and there could be additions and deletions from the list.
Updating this ranking field is quickly going to get messy.
Is anyone familiar with link surgery? Can we do this with a doubly
linked list? Is there a standard database solution for doubly linked
lists? or another way to solve this that I don't see?
Any suggestions on structure would be greatly appreciated.
Thanks
Jodi
--
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu <mailto:jkanter@virginia.edu>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jkanter@virginia.edu
Subject: Re: list ranking
In-Reply-To: <3EEA1F57.1070002@virginia.edu>
References: <3EEA1F57.1070002@virginia.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox