forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit48599a1
committed
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", whichcaused ALTER FUNCTION|PROCEDURE|ROUTINE ... SET SCHEMA to completewith "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 forALTER FUNCTION/PROCEDURE/ROUTINE, but this is not directly related tothat patch. Rather, this is a long-standing bug, so back-patch to allsupported branches.Discussion:https://postgr.es/m/CALDaNm0s7GQmkLP_mx5Cvk=UzYMnjhPmXBxU8DsHEunFbC5sTg@mail.gmail.com1 parentaf209b7 commit48599a1
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3793 | 3793 |
| |
3794 | 3794 |
| |
3795 | 3795 |
| |
3796 |
| - | |
| 3796 | + | |
3797 | 3797 |
| |
3798 | 3798 |
| |
3799 | 3799 |
| |
3800 |
| - | |
| 3800 | + | |
| 3801 | + | |
3801 | 3802 |
| |
3802 | 3803 |
| |
3803 | 3804 |
| |
|
0 commit comments
Comments
(0)