pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add more tab completion support for ALTER TABLE ADD in psql 2+ messages / 2 participants [nested] [flat]
* pgsql: Add more tab completion support for ALTER TABLE ADD in psql @ 2021-08-30 00:51 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2021-08-30 00:51 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add more tab completion support for ALTER TABLE ADD in psql This includes the detection of new patterns for various constraint types, with the addition of USING INDEX for unique indexes of a table on primary keys and unique constraints. Author: Dagfinn Ilmari Mannsåker Discussion: https://postgr.es/m/87bl6ehhpl.fsf@wibble.ilmari.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d3fa87657860a50643118c682cdbf53f508a3fab Modified Files -------------- src/bin/psql/tab-complete.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add more tab completion support for ALTER DEFAULT PRIVILEGES in @ 2024-04-08 03:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2024-04-08 03:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add more tab completion support for ALTER DEFAULT PRIVILEGES in psql. This adds tab completion of "GRANT" and "REVOKE [GRANT OPTION FOR]" for ALTER DEFAULT PRIVILEGES, and adds "WITH GRANT OPTION" for ALTER DEFAULT PRIVILEGES ... GRANT ... TO role. Author: Vignesh C, with cosmetic adjustments by me Reviewed-by: Shubham Khanna, Masahiko Sawada Discussion: https://postgr.es/m/CALDaNm1aEdJb-QJi%3DGWStkfj_%2BEDUK_VtDkn%2BTjQ2z7HyU0MBw%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/304b6b1a6b7116bae30ea24119f04474eba7f0ed Modified Files -------------- src/bin/psql/tab-complete.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-04-08 03:15 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-30 00:51 pgsql: Add more tab completion support for ALTER TABLE ADD in psql Michael Paquier <michael@paquier.xyz> 2024-04-08 03:15 pgsql: Add more tab completion support for ALTER DEFAULT PRIVILEGES in 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