pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move wchar.c and encnames.c to src/common/.
Date: Thu, 16 Jan 2020 20:59:15 +0000
Message-ID: <E1isCEV-0004BO-IJ@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1isCEV-0004BO-IJ@gemulon.postgresql.org>
Permalink:  ../E1isCEV-0004BO-IJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1isCEV-0004BO-IJ@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Move wchar.c and encnames.c to src/common/.
  In-Reply-To: <E1isCEV-0004BO-IJ@gemulon.postgresql.org>
  References: <E1isCEV-0004BO-IJ@gemulon.postgresql.org>

* 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