public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jonathan S. Katz <[email protected]>
To: Christophe Pettus <[email protected]>
Cc: [email protected]
Subject: Re: Multiple message delivery on logical replication
Date: Fri, 2 Nov 2018 21:31:45 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>


> On Nov 2, 2018, at 9:28 PM, Christophe Pettus <[email protected]> wrote:
> 
> I'm working with the logical replication support in psycopg2, and have found something surprising... this may be my error, of course!
> 
> My sample program is below.  It works wonderfully, but in the case when it starts, it re-receives the last message that it handled, even with flushing it.

I’ve had this happen as well. IIRC it was when I was using it in async
mode with wal2json. From the investigating I did at the time, I thought
it was a bug with wal2json instead of psycopg2, but it was awhile ago
and my memory is fuzzy :(

Jonathan



Attachments:

  [application/pgp-signature] signature.asc (833B, ../[email protected]/2-signature.asc)
  download

view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Multiple message delivery on logical replication
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox