xxhash
xxhash functions for PostgreSQL
Repository
hatarist/pg_xxhash
https://github.com/hatarist/pg_xxhash
Source
pg_xxhash-0.0.1.tar.gz
pg_xxhash-0.0.1.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_xxhash | 0.0.1 | UTIL | BSD-2-Clause | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4430 | xxhash | No | Yes | No | Yes | Yes | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.0.1 | 1817161514 | pg_xxhash | - |
| RPM | PIGSTY | 0.0.1 | 1817161514 | pg_xxhash_$v | - |
| DEB | PIGSTY | 0.0.1 | 1817161514 | postgresql-$v-pg-xxhash | - |
Build
You can build the RPM / DEB packages for pg_xxhash using pig build:
Install
You can install pg_xxhash directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
Provides xxHash non-cryptographic hash functions that return hex strings or bytea.
Text Output Functions
Binary Output Functions
Available Functions
| Function | Bits | Output |
|---|---|---|
xxh32(text) | 32 | hex text |
xxh64(text) | 64 | hex text |
xxh3_64(text) | 64 | hex text |
xxh128(text) | 128 | hex text |
xxh32b(text) | 32 | bytea |
xxh64b(text) | 64 | bytea |
xxh3_64b(text) | 64 | bytea |
xxh128b(text) | 128 | bytea |
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)