mirror of
https://github.com/simon987/pg_hamming.git
synced 2025-04-10 14:06:44 +00:00
19 lines
351 B
Markdown
19 lines
351 B
Markdown
# PostgreSQL hamming distance
|
|
|
|
Hamming distance for fixed-length `bytea` datatype (8-byte, 32-byte and 128-byte).
|
|
|
|
|
|
### Compiling from source (CMake)
|
|
|
|
```bash
|
|
apt install postgresql-server-11-dev
|
|
cmake .
|
|
make
|
|
```
|
|
|
|
Will break catastrophically if function arguments are not exactly the correct length.
|
|
|
|
See [hamming.c](hamming.c) for more information
|
|
|
|
|