pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Michael Artz <mlartz@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Storing an ordered list
Date: Wed, 26 Jul 2006 15:39:54 -0500
Message-ID: <20060726203954.GA23437@wolff.to> (raw)
In-Reply-To: <e9c163070607251958x2ef2a315w4204aa2f90e70bbe@mail.gmail.com>
References: <e9c163070607251958x2ef2a315w4204aa2f90e70bbe@mail.gmail.com>

On Tue, Jul 25, 2006 at 22:58:47 -0400,
  Michael Artz <mlartz@gmail.com> wrote:
> 
> I figure that one choice is to explicitly code the order as an integer
> column in the predicate table which has the advantage of being very
> easy and fast to query/order but *very* slow to reorder as all of the
> predicates need to be updated.  This would seem to be a postgres/MVCC
> weak spot as well.  Example:

If you use numeric instead of int, then it is easy to insert new values.



view thread (7+ messages)  latest in thread

Message-ID: <20060726203954.GA23437@wolff.to>
Permalink:  ../20060726203954.GA23437@wolff.to/
Also on:    postgresql.org/message-id/20060726203954.GA23437@wolff.to

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, mlartz@gmail.com
  Subject: Re: Storing an ordered list
  In-Reply-To: <20060726203954.GA23437@wolff.to>

* 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