mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
c619c2351f
To get CRC functionality in a client program, you now need to link with libpgcommon instead of libpgport. The CRC code has nothing to do with portability, so libpgcommon is a better home. (libpgcommon didn't exist when pg_crc.c was originally moved to src/port.) Remove the possibility to get CRC functionality by just #including pg_crc_tables.h. I'm not aware of any extensions that actually did that and couldn't simply link with libpgcommon. This also moves the pg_crc.h header file from src/include/utils to src/include/common, which will require changes to any external programs that currently does #include "utils/pg_crc.h". That seems acceptable, as include/common is clearly the right home for it now, and the change needed to any such programs is trivial. |
||
---|---|---|
.. | ||
data | ||
expected | ||
sql | ||
_ltree_gist.c | ||
_ltree_op.c | ||
.gitignore | ||
crc32.c | ||
crc32.h | ||
lquery_op.c | ||
ltree_gist.c | ||
ltree_io.c | ||
ltree_op.c | ||
ltree--1.0.sql | ||
ltree--unpackaged--1.0.sql | ||
ltree.control | ||
ltree.h | ||
ltreetest.sql | ||
ltxtquery_io.c | ||
ltxtquery_op.c | ||
Makefile |