pgsql: Replace magic constants for seek() calls in perl scripts

Started by Michael Paquierover 5 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)