pgsql: Make saner the tab completion of INSERT and DELETE in psql

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Make saner the tab completion of INSERT and DELETE in psql
Дата
Msg-id E1lgzkS-0000v3-7a@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make saner the tab completion of INSERT and DELETE in psql

When specified directly as DML queries, INSERT was not getting always
completed to "INSERT INTO", same for DELETE with "DELETE FROM".  This
makes the completion behavior more consistent for both commands, saving
a few keystrokes.

Commands on policies, triggers, grant/revoke, etc. require only DELETE
as completion keyword.

Author: Haiying Tang
Reviewed-by: Dilip Kumar, Julien Rouhaud
Discussion: https://postgr.es/m/OS0PR01MB61135AE2B07CCD1AB8C6A0F6FB549@OS0PR01MB6113.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1906cc07d90a8e58fd381dba43c1085e9231f236

Modified Files
--------------
src/bin/psql/tab-complete.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Rename the logical replication global "wrconn"
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: update PG 14 release notes based on current feedback