Fix tab completion for ALTER LANGUAGE in psql
authorMichael Paquier <michael@paquier.xyz>
Mon, 5 Aug 2019 05:27:20 +0000 (14:27 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 5 Aug 2019 05:27:20 +0000 (14:27 +0900)
commit05ba8370b8e4b5c8f3dd51986b9fdeb43fed5610
treeb164578693fb2dfef5eff8a69b4bb27ecb470194
parent8548ddc61b5858b6466e69f66a6b1a7ea9daef06
Fix tab completion for ALTER LANGUAGE in psql

OWNER_TO was used for the completion, which is not a supported grammar,
but OWNER TO is.

This error has been introduced by d37b816, so backpatch down to 9.6.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
Backpatch-through: 9.6
src/bin/psql/tab-complete.c