Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjARF-0003Ny-DA for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Jul 2018 21:38:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fjARD-0004Fy-Tp for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Jul 2018 21:38:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjARD-0004Fd-Hv for pgsql-bugs@lists.postgresql.org; Fri, 27 Jul 2018 21:38:15 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fjAR9-0000eL-Gi for pgsql-bugs@lists.postgresql.org; Fri, 27 Jul 2018 21:38:14 +0000 Received: by mail-wr1-x442.google.com with SMTP id q10-v6so6367321wrd.4 for ; Fri, 27 Jul 2018 14:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=TejxFVBtQ+DvLtIAZt5hGyICcoVRrywUbL8aHKRvAws=; b=dJR57NZrjP12rJwoPG2OPOGsj7oZEomrDDqD9QcgsYu/8M0Id2vDzdI4Qm/8oJ0KVJ ZONXAz9h2nqFjk4VBtefe9rlsVJWi6lP9cGv5usp0RC4jAhtD6P5KK+C4U3DlHQBXCiU oWrqx1squl1tXtJTAGe5AoQYj4b5sGCXOWWrha6a7rC8gMU73xgimwCsDugZDrYCDuM3 sFDbdpwTBT/CvyW+v01SwQ7S7oWVMmtBpt5bGS1I45eecWNc/LkUsLhIXIBqTAmSEyF+ oQAi2yPkg3jy3M4wg0ao4ywQi39t4DccfRKLigusrLk72VkiRnrrYXgWvubrUSduPdQl TNow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=TejxFVBtQ+DvLtIAZt5hGyICcoVRrywUbL8aHKRvAws=; b=YR7OM2QmG/GnGaVXjjoxSKBSxLEGm5HF0k81bafdZzU4Hy9ijfduun10kpw/dpLoov +0bTMBt5xRAJjau7hLASFCEcyAxiPMr1rFyyT5TRi9yeFIUTun8tkgHqPwGA+a170aLj Z+e2BROILfp8DBR+7v+o+pN9i7LECxuZ8TRyfncjRPLYUWU5A675Tp8hgq9hSm/wsJos Sw3K5vlTv4pguDnkH5UgXkAlxsbtVRSVa4FwMNC4Vm+KJBeWmaz0fdfXUkCpZ9caioEE sg6XULVgomk5Nyk3dbP5gqLo1S++lwEqND+iIbHdKnB0EJtWD13Z+6YV09zi6rvsQ0iT QwQQ== X-Gm-Message-State: AOUpUlGQo1uatdRO/UtW04yFAaxwkrGOuUMuZrvUHQi+EfWPZUIwBuEb aQ+mPFvMikPRYpz/fPtVTKvDxQJl X-Google-Smtp-Source: AAOMgpfTI0K0+1jH1wTMZG5MC4dpFpsKjS3JwVv3ZHGZIYhw3/kVyZRHo50QKqZFWP8+8Zor4MSQ3A== X-Received: by 2002:a5d:4701:: with SMTP id y1-v6mr6434098wrq.107.1532727489572; Fri, 27 Jul 2018 14:38:09 -0700 (PDT) Received: from [192.168.1.105] (athedsl-4494411.home.otenet.gr. [94.71.128.83]) by smtp.gmail.com with ESMTPSA id u18-v6sm9983297wrm.80.2018.07.27.14.38.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 14:38:08 -0700 (PDT) From: Vasilis Ventirozos Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: BUG #15304: Problem when replicating Floating point timestamps to int64 timestamps Date: Sat, 28 Jul 2018 00:38:06 +0300 References: <20180727174021.n2r3cweflwn3ip4j@alvherre.pgsql> To: pgsql-bugs@lists.postgresql.org In-Reply-To: <20180727174021.n2r3cweflwn3ip4j@alvherre.pgsql> Message-Id: <0464D6EE-95D5-4CA0-90D8-BE91C0F2CF53@gmail.com> X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On 27 Jul 2018, at 20:40, Alvaro Herrera = wrote: >=20 > On 2018-Jul-27, PG Bug reporting form wrote: >=20 >> 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.=20 >> I've read: >> = https://www.postgresql.org/message-id/flat/26788.1487455319%40sss.pgh.pa.u= s#26788.1487455319@sss.pgh.pa.us >> So I know that this is not something new, but i was wondering if = there is >> any way around this, >=20 > As I recall, pglogical has a way to indicate transmission of data = using > the text representation rather than binary, which should fix this > problem. >=20 > --=20 > =C3=81lvaro Herrera https://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services That worked.=20 Thanks ! Vasilis Ventirozos OmniTI Computer Consulting Inc.=