pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vasilis Ventirozos <v.ventirozos@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15304: Problem when replicating Floating point timestamps to int64 timestamps
Date: Sat, 28 Jul 2018 00:38:06 +0300
Message-ID: <0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com> (raw)
In-Reply-To: <20180727174021.n2r3cweflwn3ip4j@alvherre.pgsql>
References: <20180727174021.n2r3cweflwn3ip4j@alvherre.pgsql>



> On 27 Jul 2018, at 20:40, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> 
> On 2018-Jul-27, PG Bug reporting form wrote:
> 
>> While testing a migration procedure on a database (v9.6.9) from floating
>> point datetimes to int64 (v9.6.9) using pglogical i saw that after the
>> initial data sync all the subsequent replicated rows containing dates are
>> getting nonsensical datetime values in the subscriber. 
>> I've read:
>> https://www.postgresql.org/message-id/flat/26788.1487455319%40sss.pgh.pa.us#26788.1487455319@sss.pgh...
>> So I know that this is not something new, but i was wondering if there is
>> any way around this,
> 
> As I recall, pglogical has a way to indicate transmission of data using
> the text representation rather than binary, which should fix this
> problem.
> 
> -- 
> Álvaro Herrera                https://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

That worked. 
Thanks !

Vasilis Ventirozos
OmniTI Computer Consulting Inc.



view thread (3+ messages)

Message-ID: <0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com>
Permalink:  ../0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com/
Also on:    postgresql.org/message-id/0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: v.ventirozos@gmail.com
  Subject: Re: BUG #15304: Problem when replicating Floating point timestamps to int64 timestamps
  In-Reply-To: <0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com>
  References: <20180727174021.n2r3cweflwn3ip4j@alvherre.pgsql> <0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com>

* 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