pgsql: psql: Improve tab completion for GRANT/REVOKE CREATE

Поиск
Список
Период
Сортировка
Искать

pgsql: psql: Improve tab completion for GRANT/REVOKE CREATE

От:
Fujii Masao <fujii@postgresql.org>
Дата:
psql: Improve tab completion for GRANT/REVOKE CREATE

Complete GRANT CREATE, REVOKE CREATE, and REVOKE GRANT OPTION FOR CREATE
with ON. Previously, the generic CREATE completion rule took precedence
and suggested object types such as TABLE.

Exclude these cases from the CREATE completion rule so that the existing
GRANT/REVOKE rules can handle them.

Author: Haruna Miwa 
Reviewed-by: Sho Ito 
Reviewed-by: Fujii Masao 
Discussion: https://postgr.es/m/OSOP286MB78539E88C47403451BFFF140F18A2@OSOP286MB7853.JPNP286.PROD.OUTLOOK.COM

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/00e917ef651120c261625b11a35b54990406f069

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

FAQ