Hello, this is the new version of this patch. Rebased on the
current master.
At Tue, 06 Sep 2016 13:06:51 +0900 (Tokyo Standard Time), Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> wrote in
<20160906.130651.171572544.horiguchi.kyotaro@lab.ntt.co.jp>
> Thank you. I'll rebase the following patch and repost as soon as
> possible.
>
> https://www.postgresql.org/message-id/20160407.211917.147996130.horiguchi.kyotaro@lab.ntt.co.jp
This patch consists of the following files. Since these files are
splitted in strange criteria and order for historical reasons,
I'll reorganize this and post them later.
- 0001-Suggest-IF-NOT-EXISTS-for-tab-completion-of-psql.patch
Add suggestion of IF (NOT) EXISTS on master. This should be the last patch in this patchset.
- 0002-Make-added-keywords-for-completion-queries-follow-to.patch
Current suggestion mechanism doesn't distinguish object names and keywords, which should be differently handled in
determiningletter cases. This patch fixes that.
- 0003-Make-COMPLETE_WITH_ATTR-to-accept-additional-keyword.patch
This patch apply the 0002 fix to COMPLET_WITH_ATTR.
- 0004-Refactoring-tab-complete-to-make-psql_completion-cod.patch
By Tom's suggestion, in order to modify previous_words in more sane way, transforming the else-if sequence in
psql_completioninto a simple if sequence.
regards,
--
Kyotaro Horiguchi
NTT Open Source Software Center