pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: PG8.3->10 migration data differences
Date: Mon, 10 Sep 2018 11:57:42 +0300
Message-ID: <b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.com> (raw)
In-Reply-To: <CANaXbVjw3Y8VmapWuZahtcRhpE61hsSUcjquip3HuXeuN8y4sg@mail.gmail.com>
References: <CANaXbVjw3Y8VmapWuZahtcRhpE61hsSUcjquip3HuXeuN8y4sg@mail.gmail.com>

On 10/09/2018 11:22, Csaba Ragasits wrote:
> Hello,
>
> We would like to migrate our old databases to new postgres server, with the simple backup-restore process. The process run fine without errors but when we'reĀ  checking the source and the migrated 
> datas as field level, we found the following differences:
>
> For example:
>
> Field type: TIMESTAMP WITHOUT TIME ZONE NOT NULL
> pg93: 2015-08-28 21:25:07.70
> pg10: 2015-08-28 21:25:07.7
Those two are absolutely the same value. 7/10 = 70/100
>
> Field type: REAL
> pg93: 2.2
> pg10: 2.20000005
>
Those have to do with rounding. Precision for real is 6 decimal digits. Your difference is on the 8-th digit.
> When I check the 8.3 pg_dump file, it contains the pg83 correct values.
>
> Do you have any ideas, why different this values?
>
> Thx,
> Csaba
>
>

-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

view thread (10+ messages)  latest in thread

Message-ID: <b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.com>
Permalink:  ../b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.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-general@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: PG8.3->10 migration data differences
  In-Reply-To: <b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.com>
  References: <CANaXbVjw3Y8VmapWuZahtcRhpE61hsSUcjquip3HuXeuN8y4sg@mail.gmail.com> <b7e21ca6-c795-2cda-4873-ae8cd80383a8@matrix.gatewaynet.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