pgsql: Add unistr function

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add unistr function
Date: 2021-03-29 10:03:11
Message-ID: E1lQojn-00079p-1y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add unistr function

This allows decoding a string with Unicode escape sequences. It is
similar to Unicode escape strings, but offers some more flexibility.

Author: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Reviewed-by: Asif Rehman <asifr(dot)rehman(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRA5GnKT+gDVwbVRH2ep451H_myBt+NTz8RkYUARE9+qOQ(at)mail(dot)gmail(dot)com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/func.sgml | 46 ++++++++
src/backend/utils/adt/varlena.c | 210 ++++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 4 +
src/test/regress/expected/strings.out | 36 ++++++
src/test/regress/sql/strings.sql | 13 +++
6 files changed, 310 insertions(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-03-29 16:07:32 pgsql: Clean up date_part tests a bit
Previous Message Amit Kapila 2021-03-29 10:01:21 Re: pgsql: Add a new GUC and a reloption to enable inserts in parallel-mode