pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.
Date: 2015-12-19 16:38:37
Message-ID: E1aAKWj-0007vh-Gg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.

Previously the completion used the wrong word to match 'BY'. This was
introduced brokenly, in b2de2a. While at it, also add completion of
IN TABLESPACE ... OWNED BY and fix comments referencing nonexistent
syntax.

Reported-By: Michael Paquier
Author: Michael Paquier and Andres Freund
Discussion: CAB7nPqSHDdSwsJqX0d2XzjqOHr==HdWiubCi4L=Zs7YFTUne8w(at)mail(dot)gmail(dot)com
Backpatch: 9.4, like the commit introducing the bug

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8ae22e7d36e349d7d8fd616fbf7f78cc03e301e0

Modified Files
--------------
src/bin/psql/tab-complete.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-12-19 16:38:39 pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.
Previous Message Andres Freund 2015-12-19 16:38:35 pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.