Make libpgport be front-end only and make libpgport_srv be a backend
Bruce Momjian <bruce@momjian.us>
Make libpgport be front-end only and make libpgport_srv be a backend library that uses palloc, ereport, etc. This simplifies the makefiles for client applications.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/Makefile | modified | +3 −1 |
| src/bin/initdb/Makefile | modified | +4 −10 |
| src/bin/pg_config/Makefile | modified | +12 −7 |
| src/bin/pg_controldata/Makefile | modified | +3 −6 |
| src/bin/pg_ctl/Makefile | modified | +4 −7 |
| src/bin/pg_dump/Makefile | modified | +6 −10 |
| src/bin/pg_resetxlog/Makefile | modified | +3 −9 |
| src/bin/psql/Makefile | modified | +3 −6 |
| src/bin/scripts/Makefile | modified | +12 −15 |
| src/interfaces/ecpg/preproc/Makefile | modified | +12 −9 |
| src/port/Makefile | modified | +42 −7 |
| src/timezone/Makefile | modified | +5 −8 |