From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Андрей Асякин <asan999(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Process pg_hba.conf keywords as case-insensitive |
Date: | 2015-10-09 18:47:25 |
Message-ID: | CA+TgmoaG4yLPE69gTwqz1SAZ9ou=qX39ATJTr3k2tp9DOZfn7w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Oct 8, 2015 at 7:36 AM, Андрей Асякин <asan999(at)gmail(dot)com> wrote:
> Hi!
> This is my first post to this list.
> (Sorry for my bad english)
>
> I decided to start small, but as it is in the TODO, then why not.
>
> In TODO:
>> Process pg_hba.conf keywords as case-insensitive
>>http://archives.postgresql.org/pgsql-hackers/2009-09/msg00432.php
>
> It seems to me reasonable to throw an error saying 'ALL' is not a valid
> value and * not * reload the pg_hba.conf file.
>
> It seems a good place parse_hba_line in src/backend/libpq/hba.c, and use
> strcasecmp for checks.
>
> Patch attached, if is very simple,
I don't think this implements what was discussed on that thread.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2015-10-09 18:48:52 | Re: More work on SortSupport for text - strcoll() and strxfrm() caching |
Previous Message | Robert Haas | 2015-10-09 18:44:11 | Re: More work on SortSupport for text - strcoll() and strxfrm() caching |