Re: psql tab completion bug for ALL IN TABLESPACE - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: psql tab completion bug for ALL IN TABLESPACE
Date
Msg-id CAB7nPqSPSWkgCZWgFxDmQUa5_SNGrkxKc=RKfy0Qx2s0zMhSSQ@mail.gmail.com
Whole thread Raw
In response to Re: psql tab completion bug for ALL IN TABLESPACE  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, Dec 14, 2015 at 9:08 PM, Andres Freund <andres@anarazel.de> wrote:
> ALTER TABLE ALL IN TABLESPACE pg_default OWNED BY andres SET TABLESPACE <tab>
> works, because of

Missed that.
-       /* If we have TABLE <sth> SET TABLESPACE provide a list of
tablespaces */
-       else if (pg_strcasecmp(prev4_wd, "TABLE") == 0 &&
-                        pg_strcasecmp(prev2_wd, "SET") == 0 &&
-                        pg_strcasecmp(prev_wd, "TABLESPACE") == 0)
-               COMPLETE_WITH_QUERY(Query_for_list_of_tablespaces);
So you could get rid of that as well.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: Amit Kapila
Date:
Subject: Re: parallel joins, and better parallel explain