Jul 2025

2 commits
Fix tab completion for ALTER ROLE|USER ... RESET
31 Jul 2025Tomas Vondramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3Also in: Improve tab completion for various SET/RESET forms (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #41 of 2 reviewers saw the final version

The commit matches the ROLE/USER patch in #4 except for combining its two RESET exclusions into DATABASE|USER|ROLE in src/bin/psql/tab-complete.in.c, as suggested in #5. This agrees with thread #51722's attribution here: its earlier patch lacked the generic-completion exclusion, and its later submissions postdate the commit.

  • jian hesaw an earlier versiontrailerjian he reported testing and a favorable assessment in #2, before #4 added the substantive fix for fallback completion of variables not set on the role.
  • Tomas Vondrasaw the final versioncommittercommitted the patch
Schema-qualify unnest() in ALTER DATABASE ... RESET
31 Jul 2025Tomas Vondramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3Also in: Improve tab completion for various SET/RESET forms (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #42 of 2 reviewers saw the final version

The commit exactly matches the single-hunk DATABASE patch in #4, qualifying unnest() with pg_catalog in src/bin/psql/tab-complete.in.c. This is the latest matching submission before the commit, consistent with thread #51722's verdict assigning the fix here; that thread's later submissions postdate the commit.

  • jian hesaw the final versiontrailerjian he reported testing and a favorable assessment in #2, and the DATABASE fix remained unchanged through #4 and commit.
  • Tomas Vondrasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Dagfinn Ilmari Mannsåker2
Reviewer
jian he2
Tomas Vondracommitter2
Committer
Tomas Vondra2