model-writtenrun 8396 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported a Valgrind warning from dblink_open() on PostgreSQL 13beta1 and supplied a reproducer that opens a cursor inside an existing transaction #1.
- Joe Conway explained that an existing transaction bypassed initialization normally performed by dblink_open(), and posted a patch initializing the remoteConn members when dblink_connect() allocates the structure #2.
- Alexander Lakhin tested the patch and confirmed that Valgrind was silent #3.
- Joe Conway committed the patch unchanged as 9003b76e16, matching #2.
- Joe Conway closed the thread by confirming that the fix had been pushed to all supported branches #4.