https://github.com/simon987/pg_hamming
Hamming distance for fixed-length bytea datatype.
https://github.com/simon987/pg_hamming
Last synced: about 1 year ago
JSON representation
Hamming distance for fixed-length bytea datatype.
- Host: GitHub
- URL: https://github.com/simon987/pg_hamming
- Owner: simon987
- Created: 2019-07-20T13:52:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T18:45:28.000Z (about 6 years ago)
- Last Synced: 2025-02-09T20:18:28.836Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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