Re: IF (NOT) EXISTS in psql-completion

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: pavel(dot)stehule(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: IF (NOT) EXISTS in psql-completion
Date: 2016-11-15 11:26:42
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello, I rebased this patch on the current master.

At Mon, 31 Oct 2016 10:15:48 +0900 (Tokyo Standard Time), Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> wrote in <20161031(dot)101548(dot)162143279(dot)horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
> Anyway, I fixed space issues and addressed the
> COMPLETE_WITH_QUERY()'s almost unused parameter problem. And
> tried to write a README files.

tab-complete.c have gotten some improvements after this time.

577f0bdd2b8904cbdfde6c98f4bda6fd93a05ffc psql: Tab completion for renaming enum values.
927d7bb6b120a2ca09a164898f887eb850b7a329 Improve tab completion for CREATE TRIGGER.
1d15d0db50a5f39ab69c1fe60f2d5dcc7e2ddb9c psql: Tab-complete LOCK [TABLE] ... IN {ACCESS|ROW|SHARE}.

The attached patchset is rebsaed on the master including these


Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
0001-Refactoring-tab-complete-to-make-psql_completion-cod.patch text/x-patch 124.7 KB
0002-Make-keywords-case-follow-to-input.patch text/x-patch 40.0 KB
0003-Fix-suggested-keywords-to-follow-input-in-tab-comple.patch text/x-patch 8.9 KB
0004-Introduce-word-shift-and-removal-feature-to-psql-com.patch text/x-patch 57.1 KB
0005-Add-suggestion-for-IF-NOT-EXISTS-for-some-syntaxes.patch text/x-patch 14.3 KB
0006-Add-README-for-tab-completion.patch text/x-patch 6.3 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2016-11-15 12:07:43 Re: Remove the comment on the countereffectiveness of large shared_buffers on Windows
Previous Message Kyotaro HORIGUCHI 2016-11-15 11:25:13 Re: asynchronous execution