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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Move wchar.c and encnames.c to src/common/.
Дата
Msg-id E1isCEV-0004BO-IJ@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix problems with "read only query" checks, and refactor the cod
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Rationalize code placement between wchar.c, encnames.c, and mbut