From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move wchar.c and encnames.c to src/common/. |
Date: | 2020-01-16 20:59:15 |
Message-ID: | E1isCEV-0004BO-IJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e6afa8918c461c1dd80c5063a950518fa4e950cd
Modified Files
--------------
src/backend/utils/mb/Makefile | 2 --
src/backend/utils/mb/README | 10 ++++++----
src/bin/initdb/.gitignore | 1 -
src/bin/initdb/Makefile | 20 ++++++++------------
src/common/Makefile | 4 +++-
src/{backend/utils/mb => common}/encnames.c | 0
src/common/saslprep.c | 6 ------
src/{backend/utils/mb => common}/wchar.c | 0
src/include/mb/pg_wchar.h | 4 ++--
src/interfaces/libpq/.gitignore | 3 ---
src/interfaces/libpq/Makefile | 19 +------------------
src/tools/msvc/Mkvcbuild.pm | 5 +++--
12 files changed, 23 insertions(+), 51 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-01-16 23:08:30 | pgsql: Rationalize code placement between wchar.c, encnames.c, and mbut |
Previous Message | Robert Haas | 2020-01-16 17:13:01 | pgsql: Fix problems with "read only query" checks, and refactor the cod |