Apr 2020

1 commit
Fix crash in psql when attempting to reuse old connection
1 Apr 2020Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+1 more
LLM analysis, 100% surelanded as postedfrom patchset #52 of 2 reviewers saw the final version

The commit's sole hunk in src/bin/psql/command.c exactly matches #5, including the comment and the guard disabling connection reuse when o_conn is NULL.

  • Álvaro Herrerasaw the final versiontrailerHe supported disabling reuse for a missing connection in #4 and endorsed the revised patch in #7.
  • Tom Lanesaw the final versiontrailerHe identified the additional PQdb() hazard and proposed disabling reuse in #3, then accepted the revised patch in #6.

Credits across 1 commit

Author
Michael Paquier1
Reviewer
Alvaro Herrera1
Tom Lane1
Reported by
Hugh Wang1
Committer
Michael Paquier1