aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-01-23 19:25:23 -0800
committerNoah Misch <noah@leadboat.com>2025-04-03 09:34:02 -0700
commit5a3d5c0838bd9b8f7b71cb40af7ff8659f9f05ef (patch)
tree5874c22596d8a50a3bcc6e8b25dd500d27ae524b /src/backend/access/gist/gist.c
parent2c6a4f2c503e8b95e1a182713917fd7fcf9c1f13 (diff)
downloadpostgresql-5a3d5c0838bd9b8f7b71cb40af7ff8659f9f05ef.tar.gz
postgresql-5a3d5c0838bd9b8f7b71cb40af7ff8659f9f05ef.zip
Add helper library for use of libpq inside the server environment
Currently dblink and postgres_fdw don't process interrupts during connection establishment. Besides preventing query cancellations etc, this can lead to undetected deadlocks, as global barriers are not processed. Libpqwalreceiver in contrast, processes interrupts during connection establishment. The required code is not trivial, so duplicating it into additional places does not seem like a good option. These aforementioned undetected deadlocks are the reason for the spate of CI test failures in the FreeBSD 'test_running' step. For now the helper library is just a header, as it needs to be linked into each extension using libpq, and it seems too small to be worth adding a dedicated static library for. The conversion to the helper are done in subsequent commits. Reviewed-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/20220925232237.p6uskba2dw6fnwj2@awork3.anarazel.de
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions