diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-14 17:03:42 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-14 17:03:42 +0300 |
commit | 4f700bcd20c087f60346cb8aefd0e269be8e2157 (patch) | |
tree | 096d9993ab5fa4baca490af8abdc500d64d7c63b /src/backend/utils/adt/tsgistidx.c | |
parent | d577bb868dfb595aa8df95974cd1c79e1baba924 (diff) | |
download | postgresql-4f700bcd20c087f60346cb8aefd0e269be8e2157.tar.gz postgresql-4f700bcd20c087f60346cb8aefd0e269be8e2157.zip |
Reorganize our CRC source files again.
Now that we use CRC-32C in WAL and the control file, the "traditional" and
"legacy" CRC-32 variants are not used in any frontend programs anymore.
Move the code for those back from src/common to src/backend/utils/hash.
Also move the slicing-by-8 implementation (back) to src/port. This is in
preparation for next patch that will add another implementation that uses
Intel SSE 4.2 instructions to calculate CRC-32C, where available.
Diffstat (limited to 'src/backend/utils/adt/tsgistidx.c')
-rw-r--r-- | src/backend/utils/adt/tsgistidx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/tsgistidx.c b/src/backend/utils/adt/tsgistidx.c index 25132be441a..0a1e6644dd3 100644 --- a/src/backend/utils/adt/tsgistidx.c +++ b/src/backend/utils/adt/tsgistidx.c @@ -17,6 +17,7 @@ #include "access/gist.h" #include "access/tuptoaster.h" #include "tsearch/ts_utils.h" +#include "utils/pg_crc.h" #define SIGLENINT 31 /* >121 => key will toast, so it will not work |