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: 2020-12-04T16:37:38Z
Lists: pgsql-hackers
"Joel Jacobson" <joel@compiler.org> writes:
> The attached patch adds LEADING | TRAILING support for the bytea version of trim():

No objection in principle, but you need to extend the code added by
commit 40c24bfef to know about these functions.

The grammar in the functions' descr strings seems a bit shaky too.

			regards, tom lane



Commits

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

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