postgresql/src/fe_utils
Noah Misch 0df88a6864 Don't spuriously report FD_SETSIZE exhaustion on Windows.
Starting on 2023-08-03, this intermittently terminated a "pgbench -C"
test in CI.  It could affect a high-client-count "pgbench" without "-C".
While parallel reindexdb and vacuumdb reach the same problematic check,
sufficient client count and/or connection turnover is less plausible for
them.  Given the lack of examples from the buildfarm or from manual
builds, reproducing this must entail rare operating system
configurations.  Also correct the associated error message, which was
wrong for non-Windows.  Back-patch to v12, where the pgbench check first
appeared.  While v11 vacuumdb has the problematic check, reaching it
with typical vacuumdb usage is implausible.

Reviewed by Thomas Munro.

Discussion: https://postgr.es/m/CA+hUKG+JwvTNdcyJTriy9BbtzF1veSRQ=9M_ZKFn9_LqE7Kp7Q@mail.gmail.com
2023-10-14 15:54:49 -07:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
archive.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
cancel.c Avoid calling gettext() in signal handlers. 2022-01-17 13:30:04 -05:00
conditional.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
connect_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
mbprint.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
option_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
parallel_slot.c Don't spuriously report FD_SETSIZE exhaustion on Windows. 2023-10-14 15:54:49 -07:00
print.c Clean up assorted failures under clang's -fsanitize=undefined checks. 2022-03-03 18:13:24 -05:00
psqlscan.l psql: Fix line continuation prompts for unbalanced parentheses 2021-04-29 09:04:31 +02:00
query_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
recovery_gen.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
simple_list.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
string_utils.c Allow db.schema.table patterns, but complain about random garbage. 2022-04-20 11:39:44 -04:00