Re: Global Sequences

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Global Sequences
Date: 2012-10-16 01:37:38
Message-ID: 20121016013738.GQ29165@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Josh Berkus (josh(at)agliodbs(dot)com) wrote:
> > AIUI, PG-XC and PG-R need an order, so they both use an independent
> > system (eg, the PG-XC GTM) to provide that ordering.
>
> You're thinking of XIDs. This is a proposal for user-defined sequences.

Right, I got that it's a proposal for user sequences. I stand by my
comments regarding that proposal- if you're going to have all the
complexity of having to talk to some other system to figure out what
value(s) you can use, you might as well get an ordering with it. If
that's not necessary, then doing pre-allocation is probably sufficient
and would provide a direct way, without having to ask any other system,
to figure out which system a given value is on.

Thanks,

Stephen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Phil Sorber 2012-10-16 01:47:02 Re: [WIP] pg_ping utility
Previous Message Bruce Momjian 2012-10-16 01:37:25 Re: Adding comments for system table/column names