Re: Lower or Upper case for F.33. pg_trgm

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: marcmaiwald(at)googlemail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Lower or Upper case for F.33. pg_trgm
Date: 2022-08-16 13:03:05
Message-ID: 4be605ae-7fbb-c47c-9c7f-f8965ff0ea9e@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Op 16-08-2022 om 13:46 schreef Daniel Gustafsson:
>> On 16 Aug 2022, at 12:54, Erik Rijkers <er(at)xs4all(dot)nl> wrote:
>>
>> Op 16-08-2022 om 12:36 schreef Daniel Gustafsson:
>>>> On 16 Aug 2022, at 12:17, PG Doc comments form <noreply(at)postgresql(dot)org> wrote:
>>>> I have a question regarding the trigram algorithm and I can not find any
>>>> information about it in your documentation:
>>> Maybe we should add something about this?
>>
>> Yeah, it's a bit strange that none of the following strings yield any info on that page: 'case', 'sensitiv', 'upper', 'lower', and that there is no mention of the ~ versus ~* difference.
>>
>> Maybe worth to (already in pgtrgm.html) give the simple hint:
>> ~ is case-sensitive
>> ~* is case-insensitive
>>
>> In any case a link to functions-matching.html seems indicated.
>
> Yeah, I think there is room for improvements here. Are you up for drafting a
> patch for this?
>

How is this?

(bluntly stating 'similarity comparisons are case-insensitive' -
although I'm not really sure..)

Erik

> --
> Daniel Gustafsson https://vmware.com/
>

Attachment Content-Type Size
pgtrgm.sgml.20220816.diff text/x-patch 1.1 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2022-08-16 13:53:50 Re: Lower or Upper case for F.33. pg_trgm
Previous Message Marc M. 2022-08-16 12:35:22 Re: Lower or Upper case for F.33. pg_trgm