From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, jeff(dot)janes(at)gmail(dot)com, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Making tab-complete.c easier to maintain |
Date: | 2015-11-16 14:09:52 |
Message-ID: | CAB7nPqR+uQj=QvXDbookA5OmbmCR6So2fJxCLbh6gJ6OvacDLA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Nov 12, 2015 at 1:16 PM, Kyotaro HORIGUCHI wrote:
> 1. 0001-Allow-regex-module-to-be-used-outside-server.patch
>
> This small change makes pg_regex possible to be used in
> frontend.
This is generic enough to live in src/common, then psql would directly
reuse it using lpgcommon.
> 2. 0002-Replace-previous-matching-rule-with-regexps.patch
>
> Simply replaces existing matching rules almost one-by-one with
> regular expression matches.
This makes the situation messier. At least with Thomas' patch one can
immediately know the list of words that are being matched for a given
code path while with this patch we need to have a look to the regex
where they are list. And this would get more and more complicated with
new commands added.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-11-16 14:49:54 | Re: Conversion error of floating point numbers in pl/pgsql |
Previous Message | Michael Paquier | 2015-11-16 13:53:01 | Re: WIP: SCRAM authentication |