Thread: [PATCH]Add tab completion for foreigh table

[PATCH]Add tab completion for foreigh table

From
"tanghy.fnst@fujitsu.com"
Date:
Hi

Attached a patch to improve the tab completion for foreigh table.

Also modified some DOC description of ALTER TABLE at [1] in according with CREATE INDEX at [2].

In [1], we use "ALTER INDEX ATTACH PARTITION"
In [2], we use "ALTER INDEX ... ATTACH PARTITION"

I think the format in [2] is better.

[1] https://www.postgresql.org/docs/devel/sql-altertable.html
[2] https://www.postgresql.org/docs/devel/sql-createindex.html

Regards,
Tang

Attachment

Re: [PATCH]Add tab completion for foreigh table

From
Fujii Masao
Date:

On 2022/01/11 21:43, tanghy.fnst@fujitsu.com wrote:
> Hi
> 
> Attached a patch to improve the tab completion for foreigh table.

Thanks!

Isn't it better to tab-complete not only "PARTITION OF" but also "(" for CREATE FOREIGN TABLE?


> Also modified some DOC description of ALTER TABLE at [1] in according with CREATE INDEX at [2].
> 
> In [1], we use "ALTER INDEX ATTACH PARTITION"
> In [2], we use "ALTER INDEX ... ATTACH PARTITION"
> 
> I think the format in [2] is better.

Agreed.

IMO it's better to make the docs changes in separate patch because they are not directly related to the improvement of
tab-completion.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



RE: [PATCH]Add tab completion for foreigh table

From
"tanghy.fnst@fujitsu.com"
Date:
On Thursday, January 13, 2022 12:38 PM, Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
> Isn't it better to tab-complete not only "PARTITION OF" but also "(" for CREATE
> FOREIGN TABLE?

Thanks for your review. Left bracket completion added.

> IMO it's better to make the docs changes in separate patch because they are not
> directly related to the improvement of tab-completion.

Agreed. The former one patch was divided into two. 
0001 patch, added tab completion for foreign table.
0002 patch, modified some doc description.

Regards,
Tang

Attachment