gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] database replication with bucardo


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] database replication with bucardo
Date: Thu, 5 Jul 2012 08:10:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jul 04, 2012 at 10:26:50PM +0000, Jim Busser wrote:

> > Now, this is either due to Bucardo having screwed up the
> > sync between table and sequence on either end or else
> > something else having screwed up the sequence on either end.
> > 
> > Let's see what the table itself sayeth:
> > 
> >     select max(pk) from dem.message_inbox;
> > 
> > And then what the sequence thinks about itself:
> > 
> >     select * from dem.provider_inbox_pk_seq;
> > 
> > "max(pk)" and ".last_value" should agree.
> 
> Is
> 
>       .last_value
> 
> the basis for any problem?

It can be.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]