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 <[email protected]> Reviewed-by: Sho Ito <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/osop286mb78539e88c47403451bfff140f1...@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(-)
