mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-01 05:57:26 +02:00
Until now dblink and postgres_fdw did not process interrupts during connection establishment. Besides preventing query cancellations etc, this can lead to undetected deadlocks, as global barriers are not processed. These aforementioned undetected deadlocks are the reason for the spate of CI test failures in the FreeBSD 'test_running' step. Fix the bug by using the helper from libpq-be-fe-helpers.h, introduced in a prior commit. Besides fixing the bug, this also removes duplicated code around reserving file descriptors. As the change is relatively large and there are no field reports of the problem, don't backpatch for now. Reviewed-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/20220925232237.p6uskba2dw6fnwj2@awork3.anarazel.de Backpatch: |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
dblink--1.0--1.1.sql | ||
dblink--1.1--1.2.sql | ||
dblink--1.2.sql | ||
dblink.c | ||
dblink.control | ||
Makefile | ||
meson.build | ||
pg_service.conf |