pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add unistr function
3+ messages / 3 participants
[nested] [flat]

* pgsql: Add unistr function
@ 2021-03-29 10:03 Peter Eisentraut <peter@eisentraut.org>
  2021-03-31 03:31 ` Re: pgsql: Add unistr function Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Eisentraut @ 2021-03-29 10:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add unistr function
  2021-03-29 10:03 pgsql: Add unistr function Peter Eisentraut <peter@eisentraut.org>
@ 2021-03-31 03:31 ` Tom Lane <tgl@sss.pgh.pa.us>
  2021-03-31 06:30   ` Re: pgsql: Add unistr function Peter Eisentraut <peter.eisentraut@enterprisedb.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2021-03-31 03:31 UTC (permalink / raw)
  To: Peter Eisentraut <peter@eisentraut.org>; +Cc: pgsql-committers@lists.postgresql.org

Peter Eisentraut <peter@eisentraut.org> writes:
> Add unistr function

This has had negative consequences for PDF docs builds:

[WARN] FOUserAgent - Glyph "?" (0x441, afii10083) not available in font "Courier".
[WARN] FOUserAgent - Glyph "?" (0x43b, afii10077) not available in font "Courier".
[WARN] FOUserAgent - Glyph "?" (0x43e, afii10080) not available in font "Courier".
[WARN] FOUserAgent - Glyph "?" (0x43d, afii10079) not available in font "Courier".

I'm not sure if we have a way to put Cyrillic characters in the
docs, but if we do, this isn't it.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add unistr function
  2021-03-29 10:03 pgsql: Add unistr function Peter Eisentraut <peter@eisentraut.org>
  2021-03-31 03:31 ` Re: pgsql: Add unistr function Tom Lane <tgl@sss.pgh.pa.us>
@ 2021-03-31 06:30   ` Peter Eisentraut <peter.eisentraut@enterprisedb.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2021-03-31 06:30 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org

On 31.03.21 05:31, Tom Lane wrote:
> Peter Eisentraut <peter@eisentraut.org> writes:
>> Add unistr function
> 
> This has had negative consequences for PDF docs builds:
> 
> [WARN] FOUserAgent - Glyph "?" (0x441, afii10083) not available in font "Courier".
> [WARN] FOUserAgent - Glyph "?" (0x43b, afii10077) not available in font "Courier".
> [WARN] FOUserAgent - Glyph "?" (0x43e, afii10080) not available in font "Courier".
> [WARN] FOUserAgent - Glyph "?" (0x43d, afii10079) not available in font "Courier".
> 
> I'm not sure if we have a way to put Cyrillic characters in the
> docs, but if we do, this isn't it.

fixed





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-03-31 06:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 10:03 pgsql: Add unistr function Peter Eisentraut <peter@eisentraut.org>
2021-03-31 03:31 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-03-31 06:30   ` Peter Eisentraut <peter.eisentraut@enterprisedb.com>

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