pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add unistr function
Date: Mon, 29 Mar 2021 10:03:11 +0000
Message-ID: <E1lQojn-00079p-1y@gemulon.postgresql.org> (raw)

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.stehule@gmail.com>
Reviewed-by: Asif Rehman <asifr.rehman@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRA5GnKT+gDVwbVRH2ep451H_myBt+NTz8RkYUARE9+qOQ@mail....

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(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1lQojn-00079p-1y@gemulon.postgresql.org>
Permalink:  ../E1lQojn-00079p-1y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lQojn-00079p-1y@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: peter@eisentraut.org
  Subject: Re: pgsql: Add unistr function
  In-Reply-To: <E1lQojn-00079p-1y@gemulon.postgresql.org>
  References: <E1lQojn-00079p-1y@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