| From: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> |
|---|---|
| To: | cb(at)df7cb(dot)de |
| Cc: | viswanatham(dot)kirankumar(at)huawei(dot)com, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [TODO] Process pg_hba.conf keywords as case-insensitive |
| Date: | 2014-09-10 09:26:26 |
| Message-ID: | CAM103DsPbOScsR6kp7U3bi0BA3PVP-E-4tQG-eTjAMbH6arT9g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hmm...
case-insensitive mathing could get multiple matches, which should be an
error but I've forgot to do so.
regards,
2014/09/10 17:54 "Kyotaro HORIGUCHI" <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>:
> And one known defect is that you will get a bit odd message if
> you put an hba line having keywords quoted or prefixed with '+',
> for example
>
> +locAl "postgres" +sUs tRust
>
> The server complains for the line above that
>
> *| LOG: invalid connection type "locAl"
> | CONTEXT: line 84 of configuration file
"/home/horiguti/data/data_work/pg_hba.conf"
>
> The prefixing '+' is omitted. To correct this, either deparsing
> token into original string or storing original string into tokens
> is needed, I think.
>
> What do you think about the changes, Viswanatham or all ?
--
Kyotaro Horiguchi
NTT Open Source Software Center
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Florian Pflug | 2014-09-10 09:32:22 | Re: [TODO] Process pg_hba.conf keywords as case-insensitive |
| Previous Message | Etsuro Fujita | 2014-09-10 09:25:35 | Re: LIMIT for UPDATE and DELETE |