From: Michael Banck <michael.banck@credativ.de>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Magnus Hagander <magnus@hagander.net>
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
Date: Tue, 27 Nov 2018 16:26:45 +0100
Message-ID: <1543332405.17247.9.camel@credativ.de> (raw)
In-Reply-To: <20181127135221.GG1716@paquier.xyz>
References: <d986613b-992c-2400-78d8-08e21dff337c@2ndQuadrant.com>
<20181014224138.GA15473@paquier.xyz>
<be1a1ae4-ff0b-eff6-99bc-0d5ab8a810c3@2ndQuadrant.com>
<a8ae6ada-2828-fbdf-5409-6503977035f6@2ndQuadrant.com>
<11414.1539615900@sss.pgh.pa.us>
<fda83b85-67f4-e172-c327-19ce0d47d74b@2ndQuadrant.com>
<20181016220900.GA2331@paquier.xyz>
<61121849-19c2-ca27-a928-08aacc0f1105@2ndQuadrant.com>
<20181019135009.GG2099@paquier.xyz>
<1543324145.17247.6.camel@credativ.de>
<20181127135221.GG1716@paquier.xyz>
Hi,
Am Dienstag, den 27.11.2018, 22:52 +0900 schrieb Michael Paquier:
> On Tue, Nov 27, 2018 at 02:09:05PM +0100, Michael Banck wrote:
> > I had a quick look at fixing this but did not manage to immediately come
> > up with a solution, so posting here for now.
>
> If you look at another thread, the patch posted on the top would
> actually solve this issue:
> https://www.postgresql.org/message-id/20181021134206.GA14282@paquier.xyz
Oh, I kinda followed that thread a bit, but I think that patch fixes
things more by matter of moving code around, at least I haven't noticed
that tablespaces were explicitly claimed to be fixed in that thread.
> Your problem could also be solved with the minimalistic patch attached,
> so fixing on the way the problems with temporary files present in PGDATA
> something like the attached could be used...
Thanks!
> Based on the stale status
> of the other thread I am unsure what should be done though.
As pg_verify_checksums appears to be broken with respect to tablespaces
in REL_11_STABLE (so I think 11.1, but not 11.0) as well, I think this
merits a short-term minimal invasive fix (i.e. the patch you posted,
just that there's no TAP testsuite for pg_verify_checksums in v11
unfortunately) on its own, regardless of the wider changes proposed in
the other thread.
Michael
--
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax: +49 2166 9901-100
Email: michael.banck@credativ.de
credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz
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: michael.banck@credativ.de, michael@paquier.xyz, andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us, andres@anarazel.de, pgsql-hackers@postgresql.org, daniel@yesql.se, magnus@hagander.net
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
In-Reply-To: <1543332405.17247.9.camel@credativ.de>
References: <d986613b-992c-2400-78d8-08e21dff337c@2ndQuadrant.com> <20181014224138.GA15473@paquier.xyz> <be1a1ae4-ff0b-eff6-99bc-0d5ab8a810c3@2ndQuadrant.com> <a8ae6ada-2828-fbdf-5409-6503977035f6@2ndQuadrant.com> <11414.1539615900@sss.pgh.pa.us> <fda83b85-67f4-e172-c327-19ce0d47d74b@2ndQuadrant.com> <20181016220900.GA2331@paquier.xyz> <61121849-19c2-ca27-a928-08aacc0f1105@2ndQuadrant.com> <20181019135009.GG2099@paquier.xyz> <1543324145.17247.6.camel@credativ.de> <20181127135221.GG1716@paquier.xyz> <1543332405.17247.9.camel@credativ.de>
* 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