column_encrypt
column_encrypt
column_encrypt : Transparent column-level encryption with encrypted_text and encrypted_bytea types
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 7030 | column_encrypt | column_encrypt | 4.0 | SEC | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--sLd-- | No | Yes | Yes | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | encrypt |
| Requires | pgcrypto |
| See Also | pg_enigma pgsodium pgcryptokey pgcrypto pg_tde pgsmcrypto sslutils |
fixed encrypt schema; create schema encrypt before CREATE EXTENSION; preload column_encrypt;
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 4.0 | 18 17 16 15 14 | column_encrypt | pgcrypto |
| RPM | PIGSTY | 4.0 | 18 17 16 15 14 | column_encrypt_$v | - |
| DEB | PIGSTY | 4.0 | 18 17 16 15 14 | postgresql-$v-column-encrypt | - |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
el8.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
el9.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
el9.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
el10.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
el10.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
d12.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
d12.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
d13.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
d13.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
u22.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
u22.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
u24.x86_64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
u24.aarch64 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 | PIGSTY 4.0 |
Source
pig build pkg column_encrypt; # build rpm/debInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgsql -u # add both repo and update cacheInstall this extension with pig:
pig install column_encrypt; # install via package name, for the active PG version
pig install column_encrypt -v 18; # install for PG 18
pig install column_encrypt -v 17; # install for PG 17
pig install column_encrypt -v 16; # install for PG 16
pig install column_encrypt -v 15; # install for PG 15
pig install column_encrypt -v 14; # install for PG 14Config this extension to shared_preload_libraries:
shared_preload_libraries = 'column_encrypt';Create this extension with:
CREATE EXTENSION column_encrypt CASCADE; -- requires pgcryptoLast updated on