aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_node.c
diff options
context:
space:
mode:
authorDean Rasheed <dean.a.rasheed@gmail.com>2023-01-06 11:18:44 +0000
committerDean Rasheed <dean.a.rasheed@gmail.com>2023-01-06 11:18:44 +0000
commite7a59094b36a49df057b040611314c9a0b726d05 (patch)
treee92a9034a801e3de18a7d2e31288854f6001291c /src/backend/parser/parse_node.c
parenta3bc631ea96a7c04962df3c97dbeac860be06c03 (diff)
downloadpostgresql-e7a59094b36a49df057b040611314c9a0b726d05.tar.gz
postgresql-e7a59094b36a49df057b040611314c9a0b726d05.zip
Fix tab completion of ALTER FUNCTION/PROCEDURE/ROUTINE ... SET SCHEMA.
The ALTER DATABASE|FUNCTION|PROCEDURE|ROLE|ROUTINE|USER ... SET <name> case in psql tab completion failed to exclude <name> = "SCHEMA", which caused ALTER FUNCTION|PROCEDURE|ROUTINE ... SET SCHEMA to complete with "FROM CURRENT" and "TO", which won't work. Fix that, so that those cases now complete with the list of schemas, like other ALTER ... SET SCHEMA commands. Noticed while testing the recent patch to improve tab completion for ALTER FUNCTION/PROCEDURE/ROUTINE, but this is not directly related to that patch. Rather, this is a long-standing bug, so back-patch to all supported branches. Discussion: https://postgr.es/m/CALDaNm0s7GQmkLP_mx5Cvk=UzYMnjhPmXBxU8DsHEunFbC5sTg@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_node.c')
0 files changed, 0 insertions, 0 deletions