]> granicus.if.org Git - postgresql/commit
Improve ALTER POLICY tab completion.
authorRobert Haas <rhaas@postgresql.org>
Thu, 10 Dec 2015 17:28:46 +0000 (12:28 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Dec 2015 17:34:56 +0000 (12:34 -0500)
commitdcf5d7fb14b3ec59b436ce27d843574b6407e5b4
treeae2543415745ab2987657a9af58d3079e045a7de
parentb994acf705bea9840880b1860dca9ceb0f4785ee
Improve ALTER POLICY tab completion.

Complete "ALTER POLICY" with a policy name, as we do for DROP POLICY.
And, complete "ALTER POLICY polname ON" with a table name that has such
a policy, as we do for DROP POLICY, rather than with any table name
at all.

Masahiko Sawada
src/bin/psql/tab-complete.c