Re: [PATCH] Add support for leading/trailing bytea trim()ing

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Joel Jacobson" <joel@compiler.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-01-18T20:13:42Z
Lists: pgsql-hackers
"Joel Jacobson" <joel@compiler.org> writes:
> On Fri, Dec 4, 2020, at 22:02, Tom Lane wrote:
>> (Maybe the existing ltrim/rtrim descrs are also like this, but if so
>> I'd change them too.)

> They weren't, but I think the description for the bytea functions
> can be improved to have a more precise description
> if we take inspiration from the the text functions.

Yeah, I agree with making the bytea descriptions look like the
text ones.  Pushed with minor additional doc fixes.

			regards, tom lane



Commits

  1. Add bytea equivalents of ltrim() and rtrim().

  2. Improve our ability to regurgitate SQL-syntax function calls.