pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add bytea equivalents of ltrim() and rtrim().
Date: Mon, 18 Jan 2021 20:11:40 +0000
Message-ID: <E1l1asG-00033K-5I@gemulon.postgresql.org> (raw)

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

We had bytea btrim() already, but for some reason not the other two.

Joel Jacobson

Discussion: https://postgr.es/m/d10cd5cd-a901-42f1-b832-763ac6f7ff3a@www.fastmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a6cf3df4ebdcbc7857910a67f259705645383e9f

Modified Files
--------------
doc/src/sgml/func.sgml                    |  49 +++++++++-
src/backend/utils/adt/oracle_compat.c     | 152 ++++++++++++++++++++++--------
src/backend/utils/adt/ruleutils.c         |   2 +
src/include/catalog/catversion.h          |   2 +-
src/include/catalog/pg_proc.dat           |   8 +-
src/test/regress/expected/create_view.out |  10 +-
src/test/regress/expected/strings.out     |  12 +++
src/test/regress/sql/create_view.sql      |   5 +-
src/test/regress/sql/strings.sql          |   2 +
9 files changed, 194 insertions(+), 48 deletions(-)



Message-ID: <E1l1asG-00033K-5I@gemulon.postgresql.org>
Permalink:  ../E1l1asG-00033K-5I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1l1asG-00033K-5I@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add bytea equivalents of ltrim() and rtrim().
  In-Reply-To: <E1l1asG-00033K-5I@gemulon.postgresql.org>
  References: <E1l1asG-00033K-5I@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox