Sep 2023

1 commit
psql: Reset query buffer of \e, \ef and \ev on error
20 Sep 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #50 of 2 reviewers saw the final version

The commit retains the error-status reset and comment placement from #5 in exec_command_ef_ev(), expands the comment to cover invalid line numbers, and adds an equivalent reset to exec_command_edit() in src/bin/psql/command.c. It credits Ryoga Yoshida and Michael Paquier as authors; the alternative attachment was withdrawn in #7.

  • Aleksander Alekseevsaw an earlier versiontrailerReported testing and approval of the original patch in #4, then endorsed Michael's correction in #8, before the committed version added handling for \e.
  • Kyotaro Horiguchisaw an earlier versiontrailerSupported clearing the buffer over preserving its previous contents and requested an explanatory comment in #3, before broader editing-error handling and \e coverage were added.

Credits across 1 commit

Author
Michael Paquier1
Ryoga Yoshida1
Reviewer
Aleksander Alekseev1
Kyotaro Horiguchi1
Committer
Michael Paquier1