Re: PG 13 release notes, first draft
Bruce Momjian <bruce@momjian.us>
On Wed, May 6, 2020 at 04:01:44PM -0400, Chapman Flack wrote: > On 05/05/20 10:31, Bruce Momjian wrote: > > On Tue, May 5, 2020 at 09:20:39PM +0800, John Naylor wrote: > >> ... This patch is > >> about the server encoding, which formerly needed to be utf-8 for > >> non-ascii characters. (I think the client encoding doesn't matter as > >> long as ascii bytes are represented.) > >> > >> +<para> > >> +The UTF-8 characters must be available in the server encoding. > >> +</para> > >> > >> Same here, s/UTF-8/Unicode/. > > > > OK, new text is: > > > > Allow Unicode escapes, e.g., E'\u####', in clients that don't use UTF-8 > > encoding (Tom Lane) > > > > The Unicode characters must be available in the server encoding. > > > > I kept the "UTF-8 encoding" since that is the only Unicode encoding we > > support. > > My understanding also was that it matters little to this change what the > /client's/ encoding is. > > There used to be a limitation of the server's lexer that would reject > Unicode escapes whenever the /server's/ encoding wasn't UTF-8 (even > if the server's encoding contained the characters the escapes represent). > I think that limitation is what was removed. > > I don't think the client encoding comes into it at all. Sure, you could > just include the characters literally if they are in the client encoding, > but you might still choose to express them as escapes, and if you do they > get passed that way to the server for interpretation. 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 had assumed the patch applied to all of the forms U&'\####', > U&'\+######', E'\u####', and E'\U######' but I don't think I read > the patch to be sure of that. I am only using E'\u####' as an example. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
Commits
-
Doc: improve release notes' info about FROM UNPACKAGED feature removal.
- d42c61764464 13.0 landed
-
Doc: fix misstatement in v13 release notes.
- 001d2c5f15bf 13.0 landed
-
Doc: some more v13 release note tweaking.
- 9892564121d4 13.0 landed
-
Doc: update v13 release notes through today, do a copy-editing pass.
- 3965de54e718 13.0 cited
-
Doc: fill in "major enhancements" list in v13 release notes.
- 3d92252d7d8b 13.0 landed
-
doc: PG 13 relnotes: fix typos
- b31d6efe3d06 13.0 landed
-
doc: PG 13 relnotes, update TOAST item to mention decompression
- fb544735f114 13.0 landed
-
pgbench: document that the default data loading is client-side
- c3d1fdb59891 13.0 landed
-
psql \d: Display table where trigger is defined, if inherited
- c33869cc3bfc 13.0 cited
-
Skip WAL for new relfilenodes, under wal_level=minimal.
- c6b92041d385 13.0 cited
-
Introduce vacuum errcontext to display additional information.
- b61d161c1463 13.0 cited
-
Fix lquery's behavior for consecutive '*' items.
- 9950c8aadf0e 13.0 cited
-
Improve the internal implementation of ereport().
- 17a28b03645e 13.0 cited
-
Add object names to partition integrity violations.
- 33753ac9d7bc 13.0 cited
-
Allow page lock to conflict among parallel group members.
- 3ba59ccc896e 13.0 cited
-
Allow relation extension lock to conflict among parallel group members.
- 85f6b49c2c53 13.0 cited
-
Introduce "anycompatible" family of polymorphic types.
- 24e2885ee304 13.0 cited
-
Improve checking of child pages in contrib/amcheck.
- d114cc538715 13.0 cited
-
doc: Add information about new SQL part SQL/MDA
- 33e27c3785c5 13.0 cited
-
Added relation name in error messages for constraint checks.
- 05f18c6b6b6e 13.0 cited
-
Avoid full scan of GIN indexes when possible
- 4b754d6c16e1 13.0 cited
-
Use carriage returns for data insertion logs in pgbench on terminal
- d37ddb745be0 13.0 cited
-
Use memcpy instead of a byte loop in pglz_decompress
- c60e520f6e0e 13.0 cited
-
Add backtrace support for error reporting
- 71a8a4f6e365 13.0 cited
-
Improve pruning of a default partition
- 86544071484a 12.0 cited
- 489247b0e615 13.0 cited
-
Improve psql's \d output for partitioned indexes.
- 24f62e93f314 13.0 cited
-
initdb: Change authentication defaults
- 09f08930f0f6 13.0 cited