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

From Andres Freund
Subject Re: psql tab completion bug for ALL IN TABLESPACE
Date
Msg-id 20151214114941.GE14789@awork2.anarazel.de
Whole thread Raw
In response to Re: psql tab completion bug for ALL IN TABLESPACE  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: psql tab completion bug for ALL IN TABLESPACE  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 2015-12-14 20:44:20 +0900, Michael Paquier wrote:
> +    /*
> +     * ALTER TABLE,INDEX,MATERIALIZED VIEW ALL IN TABLESPACE xxx OWNED BY xxx
> +     * SET TABLESPACE.
> +     */
> +    else if (pg_strcasecmp(prev9_wd, "ALL") == 0 &&
> +             pg_strcasecmp(prev8_wd, "IN") == 0 &&
> +             pg_strcasecmp(prev7_wd, "TABLESPACE") == 0 &&
> +             pg_strcasecmp(prev5_wd, "OWNED") == 0 &&
> +             pg_strcasecmp(prev4_wd, "BY") == 0 &&
> +             pg_strcasecmp(prev2_wd, "SET") == 0 &&
> +             pg_strcasecmp(prev_wd, "TABLESPACE") == 0)
> +    {
> +        COMPLETE_WITH_QUERY(Query_for_list_of_tablespaces);
> +    }

Isn't that already handled by the normal SET TABLESPACE case?



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Patch: ResourceOwner optimization for tables with many partitions
Next
From: Simon Riggs
Date:
Subject: Re: Proposal: custom compression methods