RE: use pg_strncasecmp to replace strncmp when compare "pg_"

From: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: use pg_strncasecmp to replace strncmp when compare "pg_"
Date: 2021-04-26 13:48:55
Message-ID: OS0PR01MB61138BAFAB5FD041882E38ABFB429@OS0PR01MB6113.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday, April 23, 2021 2:06 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote

>>Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> writes:
>> That doesn't matter at all for now since we match schema identifiers
>> case-sensitively. Maybe it should be a part of the patch in [1].
>
>Yeah --- maybe this'd make sense as part of a full patch to improve
>tab-complete.c's handling of case folding, but I'm suspicious that
>applying it on its own would just make things less consistent.

Thanks for your reply. Merged this patch to [1]. Any further comment on [1] is very welcome.

[1] https://www.postgresql.org/message-id/OS0PR01MB6113CA04E06D5BF221BC4FE2FB429%40OS0PR01MB6113.jpnprd01.prod.outlook.com

Regards,
Tang

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2021-04-26 14:02:01 Re: How to test Postgres for any unaligned memory accesses?
Previous Message tanghy.fnst@fujitsu.com 2021-04-26 13:47:13 RE: Support tab completion for upper character inputs in psql