psql: Improve tab-completion for LOCK TABLE.
authorFujii Masao <fujii@postgresql.org>
Tue, 5 Oct 2021 01:10:43 +0000 (10:10 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 5 Oct 2021 01:13:52 +0000 (10:13 +0900)
commit0b0d277c35533baecc8d1a9356f71de5f2ee0bd8
tree2518211ba3b20a101b6ef0d8aa684ae9a64555e7
parente8259439066c5fa4f3266f30434d5a52b8347bd1
psql: Improve tab-completion for LOCK TABLE.

This commit makes psql support the tab-completion for ONLY and
NOWAIT keywords of LOCK TABLE command.

Author: Koyu Tanigawa
Reviewed-by: Shinya Kato, Fujii Masao
Discussion: https://postgr.es/m/a322684daa36319e6ebc60b541000a3a@oss.nttdata.com
src/bin/psql/tab-complete.c