pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.
Date
Msg-id E1aAKWh-0007vK-9T@gemulon.postgresql.org
Whole thread Raw
List 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@mail.gmail.com
Backpatch: 9.4, like the commit introducing the bug

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/130d94a7b868f5b6df512e5fde94a64e5e71178b

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


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Revert 9246af6799819847faa33baf441251003acbb8fe because
Next
From: Andres Freund
Date:
Subject: pgsql: Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.