aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-03-06 18:14:41 +0100
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-03-06 19:40:06 +0100
commit24503fa95cd8cd57a8d695a910056a1cfcbacefc (patch)
tree404447dc04cae04f002d1396397095303b0f1a6c /src/backend/access/gist/gistxlog.c
parent0f21db36d663fcf0789290902c84cc460ef0df8b (diff)
downloadpostgresql-24503fa95cd8cd57a8d695a910056a1cfcbacefc.tar.gz
postgresql-24503fa95cd8cd57a8d695a910056a1cfcbacefc.zip
reindexdb: move PQfinish() calls to the right place
get_parallel_object_list() has no business closing a connection it did not create. Make things more sensible by closing the connection at the level where it is created, in reindex_one_database(). Extracted from a larger patch by the same author. However, the patch as submitted not only was not described as containing this change, but in addition it contained a fatal flaw whereby reindexdb would crash and fail across all of its TAP test, which is why I list myself as co-author. Author: Ranier Vilela <ranier.vf@gmail.com> Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://postgr.es/m/CAEudQArfqr0-s0VVPSEh=0kgOgBJvFNdGW=xSL5rBcr0WDMQYQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions