psql: Improve tab-completion for MERGE.
authorFujii Masao <[email protected]>
Thu, 22 Sep 2022 00:25:29 +0000 (09:25 +0900)
committerFujii Masao <[email protected]>
Thu, 22 Sep 2022 00:26:08 +0000 (09:26 +0900)
commitf80919df950ab05cbe79c7ab34fb359aa79641d4
tree58a85530f25b9b5dc312320485550f23ae3037ed
parent0c400445dbe316d67d19f79fdd096f0b77458b86
psql: Improve tab-completion for MERGE.

Commit 7103ebb7aa added the tab-completion for MERGE accidentally
in the middle of that for LOCK TABLE. This commit fixes this issue.

This also adds some tab-completion for MERGE.

Back-patch to v15 where MERGE was introduced.

Author: Kotaro Kawamoto, Fujii Masao
Reviewed-by: Shinya Kato, Álvaro Herrera
Discussion: https://postgr.es/m/9f1ad2a87a58cd5e7d64f3993130958d@oss.nttdata.com
src/bin/psql/tab-complete.c