From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Replace magic constants for seek() calls in perl scripts |
Date: | 2021-04-19 01:15:56 |
Message-ID: | E1lYIW4-0005kL-Au@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Replace magic constants for seek() calls in perl scripts
A couple of tests have been using 0 as magic constant while SEEK_SET can
be used instead. This makes the code easier to understand, and more
consistent with the changes done in 3c5b068.
Per discussion with Andrew Dunstan.
Discussion: https://postgr.es/m/YHrc24AgJQ6tQ1q0@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c731f9187b5fd7038b04ba60703d3cace1806366
Modified Files
--------------
contrib/amcheck/t/001_verify_heapam.pl | 3 ++-
src/bin/pg_amcheck/t/003_check.pl | 4 +++-
src/bin/pg_amcheck/t/004_verify_heapam.pl | 5 +++--
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 7 ++++---
src/bin/pg_checksums/t/002_actions.pl | 4 +++-
5 files changed, 15 insertions(+), 8 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2021-04-19 02:33:32 | pgsql: Fix typos and grammar in comments and docs |
Previous Message | Thomas Munro | 2021-04-18 23:36:44 | Re: pgsql: Use SIGURG rather than SIGUSR1 for latches. |