From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql tab completion bug for ALL IN TABLESPACE |
Date: | 2015-12-14 11:49:41 |
Message-ID: | 20151214114941.GE14789@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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?
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2015-12-14 11:51:53 | Re: Proposal: custom compression methods |
Previous Message | Aleksander Alekseev | 2015-12-14 11:47:22 | Re: Patch: ResourceOwner optimization for tables with many partitions |