Re: add function argument name to substring and substr

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: add function argument name to substring and substr
Date: 2025-10-13 14:22:24
Message-ID: CACJufxHDCHsKp_8U8cQvnQpa8mPy1bJ5jjdcmjHGT9weoAT4bg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 21, 2025 at 2:31 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> actually,
> section (9.7.3.)
> https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP
> already have example, like:
> substring('foobar' from 'o(.)b')
>
> new patch attached, split substr, substring to make review more easier.
> v6-0001: add function argument name to function substr
> v6-0002: add function argument name to function substring
>
> v6-0002 incorporated some of the changes in v5-0002-v3-delta.patch.
> some of the changes in v5-0002-v3-delta.patch are not related to this thread,
> so I didn't incorporate them, right now.

hi.

rebased.

Attachment Content-Type Size
v7-0002-add-function-argument-name-to-function-substring.patch text/x-patch 12.5 KB
v7-0001-add-function-argument-name-to-substr.patch text/x-patch 3.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arseniy Mukhin 2025-10-13 14:54:51 Re: Use streaming read I/O in BRIN vacuuming
Previous Message Chao Li 2025-10-13 13:32:40 Re: doc: Improve description of io_combine_limit and io_max_combine_limit GUCs