Move wchar.c and encnames.c to src/common/.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e6afa8918c461c1dd80c5063a950518fa4e950cd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-01-16T20:58:55Z
Releases: 13.0
Move wchar.c and encnames.c to src/common/.

Formerly, various frontend directories symlinked these two sources
and then built them locally.  That's an ancient, ugly hack, and
we now have a much better way: put them into libpgcommon.
So do that.  (The immediate motivation for this is the prospect
of having to introduce still more symlinking if we don't.)

This commit moves these two files absolutely verbatim, for ease of
reviewing the git history.  There's some follow-on work to be done
that will modify them a bit.

Robert Haas, Tom Lane

Discussion: https://postgr.es/m/CA+TgmoYO8oq-iy8E02rD8eX25T-9SmyxKWqqks5OMHxKvGXpXQ@mail.gmail.com

Files

PathChange+/−
src/backend/utils/mb/Makefile modified +0 −2
src/backend/utils/mb/README modified +6 −4
src/bin/initdb/.gitignore modified +0 −1
src/bin/initdb/Makefile modified +8 −12
src/common/encnames.c (from src/backend/utils/mb/encnames.c) renamed +0 −0
src/common/Makefile modified +3 −1
src/common/saslprep.c modified +0 −6
src/common/wchar.c (from src/backend/utils/mb/wchar.c) renamed +0 −0
src/include/mb/pg_wchar.h modified +2 −2
src/interfaces/libpq/.gitignore modified +0 −3
src/interfaces/libpq/Makefile modified +1 −18
src/tools/msvc/Mkvcbuild.pm modified +3 −2

Discussion