Re: [TODO] Process pg_hba.conf keywords as case-insensitive

From: Christoph Berg <cb(at)df7cb(dot)de>
To: Viswanatham kirankumar <viswanatham(dot)kirankumar(at)huawei(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [TODO] Process pg_hba.conf keywords as case-insensitive
Date: 2014-07-23 08:37:09
Message-ID: 20140723083709.GA18557@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Re: Viswanatham kirankumar 2014-07-23 <EC867DEF52699D4189B584A14BAA7C21654422EB(at)blreml504-mbx(dot)china(dot)huawei(dot)com>
> 3) Host name is not a SQL object so it will be treated as case-sensitive
> except for all, samehost, samenet are considered as keywords.
> For these user need to use quotes to differentiate between hostname and keywords.

DNS is case-insensitive, though most of the time case-preserving
(nothing guarantees that it won't down-up-whatever-case the answer you
get).

(FTR, I'll retract my original complaint, the idea of using SQL-like
case folding is nice.)

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-07-23 10:31:13 PDF builds broken again
Previous Message Pavan Deolasee 2014-07-23 08:21:06 Re: [REVIEW] Re: Compression of full-page-writes