Improve psql tab completion for views, FDWs, sequences and transforms
authorMichael Paquier <michael@paquier.xyz>
Mon, 29 Nov 2021 01:28:29 +0000 (10:28 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 29 Nov 2021 01:28:29 +0000 (10:28 +0900)
commitf44ceb46ec2d8da48f6e145bf462d5620c25e079
tree010f00c2ebc6c14572199b71bb4a695a50c8e38f
parent276db875d4f9be2911582f367596d444d6986c77
Improve psql tab completion for views, FDWs, sequences and transforms

The following improvements are done:
- Addition of type completion for ALTER SEQUENCE AS.
- Ignore ALTER for transforms, as the command is not supported.
- Addition of more completion for ALTER FOREIGN DATA WRAPPER.
- Addition of options related to columns in ALTER VIEW.

This is a continuation of the work done in 0cd6d3b.

Author: Ken Kato
Discussion: https://postgr.es/m/9497ae9ca1b31eb9b1e97aded1c2ab07@oss.nttdata.com
src/bin/psql/tab-complete.c