From: Shinya Kato <katousnk@oss.nttdata.com>
To: bt21tanigaway <bt21tanigaway@oss.nttdata.com>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: pgsql-hackers@lists.postgresql.org
Cc: Shinya11.Kato@nttdata.com
Subject: Re: (LOCK TABLE options) “ONLY” and “NOWAIT” are not yet implemented
Date: Tue, 28 Sep 2021 22:46:35 +0900
Message-ID: <c9cb8e6b4ff37e1bd7e4746964eef05b@oss.nttdata.com> (raw)
In-Reply-To: <bf29c936d1ba16d71423bde2ce2d4be1@oss.nttdata.com>
References: <a322684daa36319e6ebc60b541000a3a@oss.nttdata.com>
<79967bce-cc80-1941-463b-883bd5606790@oss.nttdata.com>
<81b150bf40a3dad24fb8674feb07308e@oss.nttdata.com>
<bf29c936d1ba16d71423bde2ce2d4be1@oss.nttdata.com>
2021-09-28 17:06 に bt21tanigaway さんは書きました:
> 2021-09-28 17:03 に bt21tanigaway さんは書きました:
>> 2021-09-28 16:36 に Fujii Masao さんは書きました:
>>> On 2021/09/28 16:13, bt21tanigaway wrote:
>>>> Hi,
>>>>
>>>> (LOCK TABLE options) “ONLY” and “NOWAIT” are not yet implemented in
>>>> tab-complete. I made a patch for these options.
>>>
>>> Thanks for the patch!
>>> The patch seems to forget to handle the tab-completion for
>>> "LOCK ONLY <table-name> IN".
>>
>> Thanks for your comment!
>> I attach a new patch fixed to this mail.
>>
>> Regards,
>>
>> Koyu Tanigawa
>
> Sorry, I forgot to attach patch file.
> "fix-tab-complete2.patch" is fixed!
>
> Regards,
>
> Koyu Tanigawa
Thank you for your patch.
I have two comments.
1. When I executed git apply, an error occured.
---
$ git apply ~/Downloads/fix-tab-complete2.patch
/home/penguin/Downloads/fix-tab-complete2.patch:14: indent with spaces.
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_tables, " UNION SELECT
'TABLE'" " UNION SELECT 'ONLY'");
warning: 1 line adds whitespace errors.
---
2. The command "LOCK TABLE a, b;" can be executed, but tab-completion
doesn't work properly. Is it OK?
--
Regards,
--
Shinya Kato
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: katousnk@oss.nttdata.com, bt21tanigaway@oss.nttdata.com, masao.fujii@oss.nttdata.com, Shinya11.Kato@nttdata.com
Subject: Re: (LOCK TABLE options) “ONLY” and “NOWAIT” are not yet implemented
In-Reply-To: <c9cb8e6b4ff37e1bd7e4746964eef05b@oss.nttdata.com>
References: <a322684daa36319e6ebc60b541000a3a@oss.nttdata.com> <79967bce-cc80-1941-463b-883bd5606790@oss.nttdata.com> <81b150bf40a3dad24fb8674feb07308e@oss.nttdata.com> <bf29c936d1ba16d71423bde2ce2d4be1@oss.nttdata.com> <c9cb8e6b4ff37e1bd7e4746964eef05b@oss.nttdata.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox