postgresql/src/backend/utils
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
..
adt Add const qualifiers where they are accidentally cast away 2012-02-28 12:42:08 +02:00
cache Allow LEAKPROOF functions for better performance of security views. 2012-02-13 22:21:14 -05:00
error Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fmgr Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
hash Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
init Make superuser imply replication privilege. The idea of a privilege that 2012-01-14 18:22:16 +02:00
mb Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
misc Add const qualifiers where they are accidentally cast away 2012-02-28 12:42:08 +02:00
mmgr Run a portal's cleanup hook immediately when pushing it to FAILED state. 2012-02-15 16:19:01 -05:00
resowner Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sort Fix VPATH builds, broken by my recent commit to speed up tuplesorting. 2012-02-15 15:53:53 -05:00
time Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_dummy_probes.sed Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_fmgrtab.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
generate-errcodes.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Make group commit more effective. 2012-01-30 16:53:48 +02:00