diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-09-28 10:13:59 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-09-28 10:13:59 +0900 |
commit | 4d29e6dbd0bb6d8c3a48d0f3c7d65dc1def1b07e (patch) | |
tree | 7ae033edad03f0d011369d32721ceb558bc6f38e /src/backend/utils/adt/arrayfuncs.c | |
parent | 41efb8340877e8ffd0023bb6b2ef22ffd1ca014d (diff) | |
download | postgresql-4d29e6dbd0bb6d8c3a48d0f3c7d65dc1def1b07e.tar.gz postgresql-4d29e6dbd0bb6d8c3a48d0f3c7d65dc1def1b07e.zip |
Improve range checks of options for pg_test_fsync and pg_test_timing
Both tools never had safeguard checks for the options provided, and it
was possible to make pg_test_fsync run an infinite amount of time or
pass down buggy values to pg_test_timing.
These behaviors have existed for a long time, with no actual complaints,
so no backpatch is done. Basic TAP tests are introduced for both tools.
Author: Michael Paquier
Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/20200806062759.GE16470@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions