Small improvements to substring()

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Small improvements to substring()
Date: 2026-02-14 21:45:55
Message-ID: CA+hUKGJCBvpSaiXkN+xJn1QcfpFnz+ZntXdPb4BdzAUrqvFRfA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

As recently discussed on pgsql-bugs[1], substring() does unnecessary
work that can easily be deleted. Here's a patch to try that.

[1] https://www.postgresql.org/message-id/flat/19406-9867fddddd724fca%40postgresql.org

Attachment Content-Type Size
v1-0001-Improve-substring-implementation.patch text/x-patch 10.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-02-14 21:56:35 Re: Interrupts vs signals
Previous Message Jeff Davis 2026-02-14 19:39:53 Re: Expanding HOT updates for expression and partial indexes