| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | keywords in initdb are case-sensitive? |
| Date: | 2012-02-02 04:45:15 |
| Message-ID: | 1328157307-sup-2460@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
In miracee's review of Peter's patch for new -A options in initdb (in
commitfest app only), it is noted that pg_hba.conf keyword parsing is
done in a case sensitive manner. So if you write "Trust" rather than
"trust", it's not recognized.
This seemed pretty nonsensical to me, and it's not documented, so I came
up with the trivial attached patch.
Comparisons to user and database names and the like are unchanged and
thus require matching case.
Thoughts?
--
Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
| Attachment | Content-Type | Size |
|---|---|---|
| hba-casecmp.patch | application/octet-stream | 8.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2012-02-02 06:19:23 | Re: Refactoring log_newpage |
| Previous Message | Alvaro Herrera | 2012-02-02 04:33:13 | freezing multixacts |