diff options
| author | Heikki Linnakangas | 2015-04-14 14:03:42 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2015-04-14 14:03:42 +0000 |
| commit | 4f700bcd20c087f60346cb8aefd0e269be8e2157 (patch) | |
| tree | 096d9993ab5fa4baca490af8abdc500d64d7c63b /contrib/ltree/crc32.c | |
| parent | d577bb868dfb595aa8df95974cd1c79e1baba924 (diff) | |
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 'contrib/ltree/crc32.c')
| -rw-r--r-- | contrib/ltree/crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree/crc32.c b/contrib/ltree/crc32.c index 9e04037575a..1c08d264f72 100644 --- a/contrib/ltree/crc32.c +++ b/contrib/ltree/crc32.c @@ -20,7 +20,7 @@ #define TOLOWER(x) (x) #endif -#include "common/pg_crc.h" +#include "utils/pg_crc.h" #include "crc32.h" unsigned int |
