Re: Add planner support function for starts_with()

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-17T19:00:13Z
Lists: pgsql-hackers
On 10/9/21, 10:24 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> With the (admittedly later) introduction of planner support functions,
> it's really quite easy to do better.  The attached patch adds a planner
> support function for starts_with(), with these benefits:

The patch looks reasonable to me.

Nathan

Commits

  1. Add a planner support function for starts_with().