pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: In pg_amcheck tests, don't depend on perl's Q/q pack code.
Date: Sat, 13 Mar 2021 15:59:17 +0000
Message-ID: <E1lL6fd-00053j-Lw@gemulon.postgresql.org> (raw)

In pg_amcheck tests, don't depend on perl's Q/q pack code.

It does not work on all versions of perl across all platforms.

To avoid endian-ness issues, pick a new value for column a
that has the same upper 4 bytes as lower 4 bytes. Try to
make it something that isn't likely to occur anywhere nearby
in the page.

Discussion: http://postgr.es/m/29DA079B-0658-4E66-BDAA-0EFD7B64D9C6@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/945d2cb7d0255e296a55f3e9febb5dce6eaccc3e

Modified Files
--------------
src/bin/pg_amcheck/t/004_verify_heapam.pl | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)



Message-ID: <E1lL6fd-00053j-Lw@gemulon.postgresql.org>
Permalink:  ../E1lL6fd-00053j-Lw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lL6fd-00053j-Lw@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: In pg_amcheck tests, don't depend on perl's Q/q pack code.
  In-Reply-To: <E1lL6fd-00053j-Lw@gemulon.postgresql.org>
  References: <E1lL6fd-00053j-Lw@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