From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Provide an extra-float-digits setting for pg_dump / pg_dumpall
Date: Mon, 18 Feb 2019 12:37:40 +0000
Message-ID: <E1gviB2-0000df-3a@gemulon.postgresql.org> (raw)
Provide an extra-float-digits setting for pg_dump / pg_dumpall
Changes made by commit 02ddd49 mean that dumps made against pre version
12 instances are no longer comparable with those made against version 12
or later instances. This makes cross-version upgrade testing fail in the
buildfarm. Experimentation has shown that the error is cured if the
dumps are made when extra_float_digits is set to 0. Hence this patch
allows for it to be explicitly set rather than relying on pg_dump's
builtin default (3 in almost all cases). This feature might have other
uses, but should not normally be used.
Discussion: https://postgr.es/m/c76f7051-8fd3-ec10-7579-1f8842305b85@2ndQuadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/af25bc03e17eb0aba195e42506b1a15f47178e44
Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml | 11 +++++++++++
doc/src/sgml/ref/pg_dumpall.sgml | 11 +++++++++++
src/bin/pg_dump/pg_dump.c | 31 ++++++++++++++++++++++++++++---
src/bin/pg_dump/pg_dumpall.c | 7 +++++++
4 files changed, 57 insertions(+), 3 deletions(-)
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-committers@postgresql.org
Cc: andrew@dunslane.net
Subject: Re: pgsql: Provide an extra-float-digits setting for pg_dump / pg_dumpall
In-Reply-To: <E1gviB2-0000df-3a@gemulon.postgresql.org>
References: <E1gviB2-0000df-3a@gemulon.postgresql.org>
* 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