From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hilbert, Karin <ioh1@psu.edu>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: How to Resolve Data Being Truncated or Rounded Up During PostgreSQL Migration from v9.623 to v12.8?
Date: Thu, 28 Oct 2021 08:05:01 -0700
Message-ID: <582efa86-107b-3c30-757e-bb1f6beb9efc@aklaver.com> (raw)
In-Reply-To: <MN2PR02MB6829258E28420A40E699FB0289869@MN2PR02MB6829.namprd02.prod.outlook.com>
References: <MN2PR02MB6829258E28420A40E699FB0289869@MN2PR02MB6829.namprd02.prod.outlook.com>
On 10/28/21 07:44, Hilbert, Karin wrote:
> I manage aPostgreSQL databases - we currently have clusters on
> *PostgreSQL v9.6.23* & **PostgreSQL v12.8**.
> Our database clusters are on Linux VMs, with OS:
> Flavor:*redhat_7*
> Release: *3.10.0-1160.45.1.el7.x86_64*
>
> We have repmgr clusters of 1 Primary & 2 Standby servers & use another
> server with PgBouncer to direct the connections to the current Primary.
>
> How can I ensure that the data was migrated correctly - that the data
> hasn't been truncated or rounded up in the v12.8 tables?
> Any help would be greatly appreciated.
In postgresql.conf what are the settings for?:
https://www.postgresql.org/docs/12/runtime-config-client.html
extra_float_digits
"
Note
The meaning of this parameter, and its default value, changed in
PostgreSQL 12; see Section 8.1.3 for further discussion.
"
Section 8.1.3
https://www.postgresql.org/docs/12/datatype-numeric.html#DATATYPE-FLOAT>
> Thanks,
>
> Karin Hilbert
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, ioh1@psu.edu
Subject: Re: How to Resolve Data Being Truncated or Rounded Up During PostgreSQL Migration from v9.623 to v12.8?
In-Reply-To: <582efa86-107b-3c30-757e-bb1f6beb9efc@aklaver.com>
References: <MN2PR02MB6829258E28420A40E699FB0289869@MN2PR02MB6829.namprd02.prod.outlook.com> <582efa86-107b-3c30-757e-bb1f6beb9efc@aklaver.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