postgresql/src/bin
Tom Lane 5c02a00d44 Move CRC tables to libpgport, and provide them in a separate include file.
This makes it much more convenient to build tools for Postgres that are
separately compiled and require a matching CRC implementation.

To prevent multiple copies of the CRC polynomial tables being introduced
into the postgres binaries, they are now included in the static library
libpgport that is mainly meant for replacement system functions.  That
seems like a bit of a kludge, but there's no better place.

This cleans up building of the tools pg_controldata and pg_resetxlog,
which previously had to build their own copies of pg_crc.o.

In the future, external programs that need access to the CRC tables can
include the tables directly from the new header file pg_crc_tables.h.

Daniel Farina, reviewed by Abhijit Menon-Sen and Tom Lane
2012-02-28 19:53:39 -05:00
..
initdb initdb: Add options --auth-local and --auth-host 2012-02-01 21:18:55 +02:00
pg_basebackup Add some enumeration commas, for consistency 2012-02-24 11:04:45 +02:00
pg_config Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_controldata Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
pg_ctl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_dump Add some enumeration commas, for consistency 2012-02-24 11:04:45 +02:00
pg_resetxlog Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
pgevent Revert binary change in copyright year adjustment. 2012-01-01 19:42:07 -05:00
psql Add const qualifiers where they are accidentally cast away 2012-02-28 12:42:08 +02:00
scripts createuser: Disable prompting by default 2012-02-07 14:55:34 +02:00
Makefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00