psql: Improve tab-completion for MERGE.
authorFujii Masao <fujii@postgresql.org>
Thu, 22 Sep 2022 00:25:29 +0000 (09:25 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 22 Sep 2022 00:25:29 +0000 (09:25 +0900)
commit9a6915257d1d804ddba05331030b74d7426a4005
tree7541ba0a609a894dee39c79c72f1052e9ab6a8ca
parent661ee7bfc661a4ba52ed57cff46e414b2add75b1
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