Re: My very first PL/pgSQL procedure... - Mailing list pgsql-general

From Philippe Ferreira
Subject Re: My very first PL/pgSQL procedure...
Date
Msg-id 43DBDC64.1090300@worldonline.fr
Whole thread Raw
In response to Re: My very first PL/pgSQL procedure...  ("Jim Buttafuoco" <jim@contactbda.com>)
List pgsql-general
>why not have server a start at 1 and server b start at max int8/2.  that will give each server alot of orders before
>you have an issue.  They will will not have to play games with the sequence value.
>
>Jim
>
>
Hi,

Your method is different from mine, but I think that both methods will
face the same constraints in case of failover...

Anyway, my setup is working fine, so I won't change anything !
The only point is that it could have been useful to be able to lock a
sequence...
It seems that it was possible with PostgreSQL 7.0, but was removed in 7.1 :
    http://archives.postgresql.org/pgsql-hackers/2001-10/msg00928.php

Best regards,
Philippe Ferreira.

pgsql-general by date:

Previous
From: "Eric B. Ridge"
Date:
Subject: Re: Viewing Database Scheme
Next
From: Rich Shepard
Date:
Subject: Re: Viewing Database Scheme