| From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-30 19:23:29 |
| Message-ID: | aw3NMWRmMp-57vig@nathan |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Nov 28, 2026 at 04:18:04PM +0900, Michael Paquier wrote:
> 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.
Yeah. I think we should either mark it deprecated and leave it around
indefinitely (to at least indicate that we're not interested in expanding
its functionality), or move it to src/test/modules/ as you suggest.
--
nathan
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Antonin Houska | 2026-11-30 19:48:55 | Re: REPACK enhancements |
| Previous Message | Sami Imseih | 2026-11-30 19:15:08 | Re: pgstat: Flush some statistics within running transactions, take 2 |