[PATCH] Tab completion for SET COMPRESSION

Started by Aleksander Alekseevover 3 years ago8 messageshackers
Jump to latest
#1Aleksander Alekseev
aleksander@timescale.com

Hi hackers,

The proposed patch adds the missing tab completion for 'ALTER TABLE
... SET COMPRESSION ...' syntax.

--
Best regards,
Aleksander Alekseev

Attachments:

v1-0001-Tab-completion-for-SET-COMPRESSION.patchapplication/octet-stream; name=v1-0001-Tab-completion-for-SET-COMPRESSION.patchDownload+4-1
#2Shinya Kato
Shinya11.Kato@oss.nttdata.com
In reply to: Aleksander Alekseev (#1)
Re: [PATCH] Tab completion for SET COMPRESSION

On 2022-08-22 21:48, Aleksander Alekseev wrote:

Hi hackers,

The proposed patch adds the missing tab completion for 'ALTER TABLE
... SET COMPRESSION ...' syntax.

Thanks, LGTM.

In addition, why not take this opportunity to create a tab completion
for "ALTER TABLE <name> OF <type_name>" and "ALTER TABLE <name> NOT OF"?

--
Regards,

--
Shinya Kato
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

#3Michael Paquier
michael@paquier.xyz
In reply to: Shinya Kato (#2)
Re: [PATCH] Tab completion for SET COMPRESSION

On Tue, Sep 06, 2022 at 09:54:53AM +0900, Shinya Kato wrote:

In addition, why not take this opportunity to create a tab completion for
"ALTER TABLE <name> OF <type_name>" and "ALTER TABLE <name> NOT OF"?

Right. That looks fine to me, so applied.
--
Michael

#4Aleksander Alekseev
aleksander@timescale.com
In reply to: Michael Paquier (#3)
Re: [PATCH] Tab completion for SET COMPRESSION

Hi hackers,

Right. That looks fine to me, so applied.

Thanks, Michael.

In addition, why not take this opportunity to create a tab completion for
"ALTER TABLE <name> OF <type_name>" and "ALTER TABLE <name> NOT OF"?

Thanks for reviewing, Shinya. Let's fix this too. The patch is attached.

--
Best regards,
Aleksander Alekseev

Attachments:

v1-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchapplication/octet-stream; name=v1-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchDownload+2-2
#5Shinya Kato
Shinya11.Kato@oss.nttdata.com
In reply to: Aleksander Alekseev (#4)
Re: [PATCH] Tab completion for SET COMPRESSION

On 2022-09-06 17:28, Aleksander Alekseev wrote:

In addition, why not take this opportunity to create a tab completion
for
"ALTER TABLE <name> OF <type_name>" and "ALTER TABLE <name> NOT OF"?

Thanks for reviewing, Shinya. Let's fix this too. The patch is
attached.

Thanks for the new patch!
A minor modification has been made so that the composite type is also
completed after "ALTER TABLE <name> OF".

Thought?

--
Regards,

--
Shinya Kato
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachments:

v2-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchtext/x-diff; name=v2-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchDownload+6-1
#6Aleksander Alekseev
aleksander@timescale.com
In reply to: Shinya Kato (#5)
Re: [PATCH] Tab completion for SET COMPRESSION

Hi Shinya,

A minor modification has been made so that the composite type is also
completed after "ALTER TABLE <name> OF".

LGTM. Here is v3 created with `git format-path`. Unlike v2 it also
includes the commit message.

--
Best regards,
Aleksander Alekseev

Attachments:

v3-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchapplication/octet-stream; name=v3-0001-Add-psql-tab-compression-for-OF-NOT-OF-with-ALTER.patchDownload+6-2
#7Shinya Kato
Shinya11.Kato@oss.nttdata.com
In reply to: Aleksander Alekseev (#6)
Re: [PATCH] Tab completion for SET COMPRESSION

On 2022-09-06 20:57, Aleksander Alekseev wrote:

Hi Shinya,

A minor modification has been made so that the composite type is also
completed after "ALTER TABLE <name> OF".

LGTM. Here is v3 created with `git format-path`. Unlike v2 it also
includes the commit message.

Thanks! I marked it as ready for committer.

--
Regards,

--
Shinya Kato
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

#8Michael Paquier
michael@paquier.xyz
In reply to: Shinya Kato (#7)
Re: [PATCH] Tab completion for SET COMPRESSION

On Thu, Sep 08, 2022 at 04:40:32PM +0900, Shinya Kato wrote:

Thanks! I marked it as ready for committer.

I thought that there was a gotcha in this area for composite types,
but on second look it looks that I was wrong. Hence, applied.
--
Michael