Add CURRENT_ROLE to list of roles for tab completion of GRANT in psql

Michael Paquier <michael@paquier.xyz>

Commit: 22b2dec31b2ef4dfee299290b16375e9fa6e6932
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-04-21T01:34:43Z
Releases: 14.0
Add CURRENT_ROLE to list of roles for tab completion of GRANT in psql

This compatibility has been added in 45b9805, but psql forgot the call.

Author: Wei Wang
Reviewed-by: Aleksander Alekseev
Discussion: https://postgr.es/m/OS3PR01MB6275935F62E161BCD393D6559E489@OS3PR01MB6275.jpnprd01.prod.outlook.com

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +3 −1

Discussion