Commit ID 5c02a00d440b90ead12658ce6ec9f4eee95dd0a3
|
Contributor: | Tom Lane | Files Modified: | 10 |
| Date: | 29-February-2012 at 00:53 | Lines Added: | 547 | |
| Repository: | git://git.postgresql.org/git/postgresql.git master | Lines Removed: | 530 | |
| Commit Comment: | 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 |
|||
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|---|
| src/backend/utils/hash/Makefile | Make | 1 | 1 | 0 | 0 | 0 | 0 | |
| src/backend/utils/hash/pg_crc.c | C | 0 | 462 | 0 | 42 | 0 | 11 | |
| src/bin/pg_controldata/.gitignore | No source code was detected in this file. | |||||||
| src/bin/pg_controldata/Makefile | Make | 2 | 4 | 0 | 0 | 0 | 1 | |
| src/bin/pg_resetxlog/.gitignore | No source code was detected in this file. | |||||||
| src/bin/pg_resetxlog/Makefile | Make | 2 | 4 | 0 | 0 | 0 | 1 | |
| src/include/utils/pg_crc_tables.h | C | 464 | 0 | 43 | 0 | 10 | 0 | |
| src/port/Makefile | Make | 2 | 2 | 0 | 0 | 0 | 0 | |
| src/port/pg_crc.c | C | 2 | 0 | 17 | 0 | 2 | 0 | |
| src/tools/msvc/Project.pm | Perl | 0 | 0 | 2 | 2 | 0 | 0 | |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.