pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chapman Flack <chap@anastigmatix.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: John Naylor <john.naylor@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 13 release notes, first draft
Date: Thu, 7 May 2020 14:08:58 -0400
Message-ID: <5EB44EBA.3040206@anastigmatix.net> (raw)
In-Reply-To: <20200507134657.GK3649@momjian.us>
References: <20200505031600.GB21752@momjian.us>
	<CACPNZCugECZv_5TNFFQ+R9Pp15PP5426oAstC1g7kTS1aLgrnw@mail.gmail.com>
	<20200505143118.GH21752@momjian.us>
	<5EB317A8.1020907@anastigmatix.net>
	<20200507134657.GK3649@momjian.us>

On 05/07/20 09:46, Bruce Momjian wrote:
> Ah, very good point.  New text is:
> 
> 	Allow Unicode escapes, e.g., E'\u####', in databases that do not
> 	use UTF-8 encoding (Tom Lane)
> 
> 	The Unicode characters must be available in the database encoding.
> ...
> 
> I am only using E'\u####' as an example.

Hmm, how about:

	Allow Unicode escapes, e.g., E'\u####' or U&'\####', to represent
	any character available in the database encoding, even when that
	encoding is not UTF-8.

which I suggest as I recall more clearly that the former condition
was not that such escapes were always rejected in other encodings; it was
that they were rejected if they represented characters outside of ASCII.
(Yossarian let out a respectful whistle.)

My inclination is to give at least one example each of the E and U&
form, if only so the casual reader of the notes may think "say! I hadn't
heard of that other form!" and be inspired to find out about it. But
perhaps it seems too much.

Regards,
-Chap





view thread (194+ messages)  latest in thread

Message-ID: <5EB44EBA.3040206@anastigmatix.net>
Permalink:  ../5EB44EBA.3040206@anastigmatix.net/
Also on:    postgresql.org/message-id/5EB44EBA.3040206@anastigmatix.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: chap@anastigmatix.net, bruce@momjian.us, john.naylor@2ndquadrant.com
  Subject: Re: PG 13 release notes, first draft
  In-Reply-To: <5EB44EBA.3040206@anastigmatix.net>

* 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