postgresql/src/bin
Dean Rasheed e7a59094b3 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
2023-01-06 11:18:44 +00:00
..
initdb Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amcheck Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_archivecleanup Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_basebackup Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_checksums Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_config Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_controldata Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ctl Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_dump During pg_dump startup, acquire table locks in batches. 2023-01-03 17:56:44 -05:00
pg_resetwal Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_rewind Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_test_fsync Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_test_timing Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_upgrade Fix typos in comments, code and documentation 2023-01-03 16:26:14 +09:00
pg_verifybackup Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_waldump Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgbench Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgevent Update copyright for 2023 2023-01-02 15:00:37 -05:00
psql Fix tab completion of ALTER FUNCTION/PROCEDURE/ROUTINE ... SET SCHEMA. 2023-01-06 11:18:44 +00:00
scripts Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00