postgresql/src
Jeff Davis bbbf71d9a6 Fix 002_pg_upgrade.pl.
Commit f696c0cd5f caused a test failure in 002_pg_upgrade.pl, because
an earlier s/// operator caused qr// to no longer match the empty
string. Use qr/^$/ instead, which is a better test anyway, because we
expect the stderr to be empty.

Initially this appeared to be a perl bug, but per discussion, it seems
that it was a misunderstanding of how perl works: an empty pattern
uses the last successful pattern. Given how surprising that behavior
is to perl non-experts, we will need to look for similar problems
elsewhere and eliminate the use of empty patterns throughout the
code. For now, address this one instance to fix the buildfarm.

Discussion: https://postgr.es/m/0ef325fa06e7a1605c4e119c4ecb637c67e5fb4e.camel@j-davis.com
Reviewed-by: Tom Lane
2024-03-11 14:09:07 -07:00
..
backend Remove unneeded vacuum_delay_point from heap_vac_scan_get_next_block 2024-03-11 20:45:33 +02:00
bin Fix 002_pg_upgrade.pl. 2024-03-11 14:09:07 -07:00
common Fix type signedness error in commit 5c40364dd6. 2024-03-08 16:00:46 -08:00
fe_utils Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
include Improve support for ExplainOneQuery() hook 2024-03-11 08:40:40 +09:00
interfaces Add missing connection statuses to docs 2024-03-11 17:20:36 +01:00
makefiles Remove AIX support 2024-02-28 15:17:23 +04:00
pl Redefine backend ID to be an index into the proc array 2024-03-03 19:37:28 +02:00
port Fix overflow in Windows replacement pg_pread/pg_pwrite. 2024-03-03 08:40:41 +13:00
template Remove AIX support 2024-02-28 15:17:23 +04:00
test Add tests for libpq query cancellation APIs 2024-03-11 21:54:03 +01:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools Combine headerscheck and cpluspluscheck scripts 2024-03-10 07:56:17 +01:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Remove make function vpathsearch 2024-01-29 07:24:59 +01:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00