Simplify matching pattern check in TAP tests of pg_receivewal
Michael Paquier <michael@paquier.xyz>
Simplify matching pattern check in TAP tests of pg_receivewal A check in the ZLIB portion of the test to match the name of a non-compressed partial segment with a completed compressed segment was using m//, while a simple equality check is enough. This makes the test a bit stricter without impacting its coverage. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20210726.174622.826565852378770261.horikyota.ntt@gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/t/020_pg_receivewal.pl | modified | +1 −1 |
Discussion
- Incorrect usage of strtol, atoi for non-numeric junk inputs 26 messages · 2021-05-19 → 2021-07-27