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: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: use pg_strncasecmp to replace strncmp when compare "pg_"
Date: 2021-04-22 12:44:28
Message-ID: OS0PR01MB61138F400CDD245417CE3EA9FB469@OS0PR01MB6113.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

When try to improve the tab compleation feature in [1], I found an existing problem and a typo.
The patch was attached, please kindly to take a look at it. Thanks.

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

Regards,
Tang

Attachment Content-Type Size
0001-use-pg_strncasecmp-to-replace-strncmp-when-compare-p.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-04-22 12:53:52 Re: multi-install PostgresNode fails with older postgres versions
Previous Message tanghy.fnst@fujitsu.com 2021-04-22 12:43:42 RE: Support tab completion for upper character inputs in psql