pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: psql: Fix tab completion for VACUUM option values. 2+ messages / 1 participants [nested] [flat]
* pgsql: psql: Fix tab completion for VACUUM option values. @ 2025-12-24 21:57 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2025-12-24 21:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org psql: Fix tab completion for VACUUM option values. Commit 8a3e4011 introduced tab completion for the ONLY option of VACUUM and ANALYZE, along with some code simplification using MatchAnyN. However, it caused a regression in tab completion for VACUUM option values. For example, neither ON nor OFF was suggested after "VACUUM (VERBOSE". In addition, the ONLY keyword was not suggested immediately after a completed option list. Backpatch to v18. Author: Yugo Nagata <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/20251223021509.19bba68ecbbc70c9f983c2b4@sraoss.co.jp Backpatch-through: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c5c808f9b30b098421ad9f255954c4b16d121ab4 Modified Files -------------- src/bin/psql/tab-complete.in.c | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: psql: Fix tab completion for VACUUM option values. @ 2025-12-24 21:57 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2025-12-24 21:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org psql: Fix tab completion for VACUUM option values. Commit 8a3e4011 introduced tab completion for the ONLY option of VACUUM and ANALYZE, along with some code simplification using MatchAnyN. However, it caused a regression in tab completion for VACUUM option values. For example, neither ON nor OFF was suggested after "VACUUM (VERBOSE". In addition, the ONLY keyword was not suggested immediately after a completed option list. Backpatch to v18. Author: Yugo Nagata <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/20251223021509.19bba68ecbbc70c9f983c2b4@sraoss.co.jp Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4e13769004c8b2a337d24060e15f23684d3df98b Modified Files -------------- src/bin/psql/tab-complete.in.c | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-12-24 21:57 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-12-24 21:57 pgsql: psql: Fix tab completion for VACUUM option values. Masahiko Sawada <msawada@postgresql.org> 2025-12-24 21:57 pgsql: psql: Fix tab completion for VACUUM option values. Masahiko Sawada <msawada@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox