postgresql/src
Heikki Linnakangas ec136d19b2 Move code shared between libpq and backend from backend/libpq/ to common/.
When building libpq, ip.c and md5.c were symlinked or copied from
src/backend/libpq into src/interfaces/libpq, but now that we have a
directory specifically for routines that are shared between the server and
client binaries, src/common/, move them there.

Some routines in ip.c were only used in the backend. Keep those in
src/backend/libpq, but rename to ifaddr.c to avoid confusion with the file
that's now in common.

Fix the comment in src/common/Makefile to reflect how libpq actually links
those files.

There are two more files that libpq symlinks directly from src/backend:
encnames.c and wchar.c. I don't feel compelled to move those right now,
though.

Patch by Michael Paquier, with some changes by me.

Discussion: <69938195-9c76-8523-0af8-eb718ea5b36e@iki.fi>
2016-09-02 13:49:59 +03:00
..
backend Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
bin Improve tab completion for BEGIN & START|SET TRANSACTION. 2016-09-01 16:10:30 -05:00
common Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
fe_utils Make initdb's suggested "pg_ctl start" command line more reliable. 2016-08-20 15:05:25 -04:00
include Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
interfaces Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Improve memory management for PL/Perl functions. 2016-08-31 19:54:58 -04:00
port Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Speed up SUM calculation in numeric aggregates. 2016-09-02 11:51:49 +03:00
timezone Fix typos in comments. 2016-08-29 16:06:40 +09:00
tools Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Provide and use a makefile target to build all generated headers. 2016-07-01 15:09:02 -04:00
Makefile.shlib Make the AIX case of Makefile.shlib safe for parallel make. 2016-07-23 20:30:03 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00