Feb 2020

1 commit
psql: Fix %w length in PROMPT2 when PROMPT1 contains a newline.
10 Feb 2020Thomas Munromaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #231 of 2 reviewers saw the final version

The single src/bin/psql/prompt.c hunk matches #23 exactly apart from rebase context: visible newlines reset last_prompt1_width before subsequent character widths accumulate. Thomas Munro confirms the commit in #24.

  • Tom Lanesaw an earlier versiontrailerIn #22, he reviewed #21 and requested respecting the visible flag; #23 subsequently changed that logic, with no later review shown.
  • Thomas Munrosaw the final versioncommittercommitted the patch

Nov 2019

1 commit
Allow invisible PROMPT2 in psql.
19 Nov 2019Thomas Munromaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #170 of 1 reviewer saw the final version

Derives from #17, adding a remaining-length check before PQdsplen(), ignoring nonpositive display widths, explicitly initializing the saved width, and clarifying the documentation. These edits follow #18 and are confirmed in the commit announcement #19.

  • Tom Lanesaw an earlier versiontrailerHe redirected the original design in #4, recommended display-width functions in #16, and reviewed #17 in #18, before the final bounds and width-handling changes.

Credits across 2 commits

Author
Maxence Ahlouche1
Thomas Munro1
with ideas from others1
Reviewer
Tom Lane2
Thomas Munrocommitter1
Committer
Thomas Munro2