Re: add function argument name to substring and substr - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: add function argument name to substring and substr
Date
Msg-id B0D8D1E1-5209-4E32-B89E-360BC55A74F7@yesql.se
Whole thread Raw
In response to Re: add function argument name to substring and substr  (Marcos Pegoraro <marcos@f10.com.br>)
List pgsql-hackers
> On 1 Apr 2025, at 15:14, Marcos Pegoraro <marcos@f10.com.br> wrote:
>
> Em ter., 1 de abr. de 2025 às 02:00, David G. Johnston <david.g.johnston@gmail.com> escreveu:
>
> Wouldn't it be good to add the use of parentheses using posix ? It's useful and rarely documented
>         <literal>substring('Thomas', '...$')</literal>
> +        <literal>substring('Email: johnjohn@mymail.com, Name: John' from '@(.*), Name')</literal>

While not commenting on the usefulness of the suggestion; any usage of email
addresses in the documentation should use @example.{com|org}.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Marcos Pegoraro
Date:
Subject: Re: add function argument name to substring and substr
Next
From: Aleksander Alekseev
Date:
Subject: Re: Adding skip scan (including MDAM style range skip scan) to nbtree