Re: passwordcheck: Make the user name check case-insensitive

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Anthony Sotolongo <asotolongo(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: passwordcheck: Make the user name check case-insensitive
Date: 2026-11-28 07:18:04
Message-ID: awqALCOS-Ex_iSGw@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 27, 2026 at 04:08:43PM +0100, Laurenz Albe wrote:
> On Fri, 2026-11-27 at 10:08 +0100, Daniel Gustafsson wrote:
>> If we want to publish code samples we should add them to the documentation and
>> properly explain them there. IMHO.
>
> I can agree with that. What do you think about point b) in my message?

I kind of disagree with the point of putting code samples in the docs.
These prove to rot and be forgotten very easily, and they're not easy
to check. You could add some sample module in src/test/modules/
instead, which would make sure that the code always works, under the
condition that it is useful for.. Tests. Then just have the docs
point at a wanted path in the code tree.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2026-11-28 07:25:41 Re: Storing Property Graphs like Views (as a serialized analyzed parse tree)
Previous Message Michael Paquier 2026-11-28 07:13:45 Re: [PATCH] libpq: Add PQpassfileLookup()