This is the multi-page printable view of this section.
Click here to print.
Return to the regular view of this page.
Category: UTIL
UTIL: Utilities such as send http request, perform gzip/zstd compress, send mails, Regex, ICU, encoding, docs, Encryption,…
UTIL category has 28 available extensions:
1 - zstd
Zstandard compression algorithm implementation in PostgreSQL
Overview
PIGSTY 3rd Party Extension: pg_zstd
: Zstandard compression algorithm implementation in PostgreSQL
- Latest Version: 1.1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_zstd_$v*
- RPM Ver :
1.1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-zstd
- DEB Ver :
1.1.0
- DEB Deps: N/A
Packages
Installation
Install zstd
via the pig
CLI tool:
pig ext install pg_zstd; # Extension Namepig ext install zstd; # normalized package name
Install pg_zstd
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_zstd"]}' # -l <cls>
Install pg_zstd
RPM from YUM repo directly:
dnf install pg_zstd_17*;
dnf install pg_zstd_16*;
dnf install pg_zstd_15*;
dnf install pg_zstd_14*;
dnf install pg_zstd_13*;
Install pg_zstd
DEB from APT repo directly:
apt install postgresql-17-pg-zstd;
apt install postgresql-16-pg-zstd;
apt install postgresql-15-pg-zstd;
apt install postgresql-14-pg-zstd;
apt install postgresql-13-pg-zstd;
Enable zstd
extension on PostgreSQL cluster:
Usage
Function |
Return Type |
zstd_compress(data bytea [, dictionary bytea [, level integer ]]) |
bytea |
zstd_decompress(data bytea [, dictionary bytea ]) |
bytea |
zstd_length(data bytea) |
integer |
zstd_compress
compresses the provided data
and returns a Zstandard frame. A
preset dictionary
may also be provided. The default compression level
may
also be overriden, valid values range from 1
(best speed) to 22
(best
compression). The default level is 3
.
If you want to override the compression level without using a dictionary, set
dictionary
to NULL
.
zstd_decompress
decompresses the provided Zstandard frame in data
and
returns the uncompressed data. A preset dictionary
, matching the dictionary
used to compress the data, may also be provided.
zstd_length
returns the decompressed length of the provided Zstandard frame.
If ZSTD_getFrameContentSize()
is available it returns NULL
if the length is
unknown. If unavailable, it isn’t possible to distinguish the error, unknown
decompressed length and zero decompressed length cases.
Example
Basic compress/decompress example:
CREATE EXTENSION zstd;
SELECT zstd_compress('hello world');
-- zstd_compress
-- --------------------------------------------
-- \x28b52ffd200b59000068656c6c6f20776f726c64
SELECT convert_from(zstd_decompress('\x28b52ffd200b59000068656c6c6f20776f726c64'), 'utf-8');
-- convert_from
-- --------------
-- hello world
Compress with level (1
for best speed, 22
for best compression, default to 3
)
CREATE EXTENSION zstd;
SELECT zstd_compress('hello world', NULL, 10);
-- zstd_compress
-- --------------------------------------------
-- \x28b52ffd200b59000068656c6c6f20776f726c64
SELECT convert_from(zstd_decompress('\x28b52ffd200b59000068656c6c6f20776f726c64'), 'utf-8');
-- convert_from
-- --------------
-- hello world
2 - gzip
gzip and gunzip functions.
Overview
MIXED 3rd Party Extension: pg_gzip
: gzip and gunzip functions.
- Latest Version: 1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pgsql_gzip_$v*
- RPM Ver :
1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-gzip
- DEB Ver :
1.0
- DEB Deps: N/A
Packages
Installation
Install gzip
via the pig
CLI tool:
pig ext install pg_gzip; # Extension Namepig ext install gzip; # normalized package name
Install pg_gzip
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_gzip"]}' # -l <cls>
Install pg_gzip
RPM from YUM repo directly:
dnf install pgsql_gzip_17*;
dnf install pgsql_gzip_16*;
dnf install pgsql_gzip_15*;
dnf install pgsql_gzip_14*;
dnf install pgsql_gzip_13*;
Install pg_gzip
DEB from APT repo directly:
apt install postgresql-17-gzip;
apt install postgresql-16-gzip;
apt install postgresql-15-gzip;
apt install postgresql-14-gzip;
apt install postgresql-13-gzip;
Enable gzip
extension on PostgreSQL cluster:
Usage
Sometimes you just need to compress your bytea
object before you return it to the client.
Sometimes you receive a compressed bytea
from the client, and you have to uncompress it before you can work with it.
This extension is for that.
This extension is not for storage compression. PostgreSQL already does tuple compression on the fly if your tuple gets large enough, manually pre-compressing your data using this function won’t make things smaller.
gzip(uncompressed BYTEA, [compression_level INTEGER])
returns BYTEA
gzip(uncompressed TEXT, [compression_level INTEGER])
returns BYTEA
gunzip(compressed BYTEA)
returns BYTEA
Examples
> SELECT gzip('this is my this is my this is my this is my text');
gzip
--------------------------------------------------------------------------
\x1f8b08000000000000132bc9c82c5600a2dc4a851282ccd48a12002e7a22ff30000000
Wait, what, the compressed output is longer?!? No, it only looks that way, because in hex every byte is represented with two hex digits. The original string looks like this in hex:
> SELECT 'this is my this is my this is my this is my text'::bytea;
bytea
----------------------------------------------------------------------------------------------------
\x74686973206973206d792074686973206973206d792074686973206973206d792074686973206973206d792074657874
For really long, repetitive things, compression naturally works like a charm:
> SELECT gzip(repeat('this is my ', 100));
bytea
----------------------------------------------------------------------------------------------------
\x1f8b08000000000000132bc9c82c5600a2dc4a859251e628739439ca24970900d1341c5c4c040000
To convert a bytea
back into an equivalent text
you must use the encode()
function with the escape
encoding.
> SELECT encode('test text'::bytea, 'escape');
encode
-----------
test text
> SELECT encode(gunzip(gzip('this text has been compressed and then decompressed')), 'escape')
encode
-----------------------------------------------------
this text has been compressed and then decompressed
3 - http
HTTP client for PostgreSQL, allows web page retrieval inside the database.
Overview
PGDG 1st Party Extension: pg_http
: HTTP client for PostgreSQL, allows web page retrieval inside the database.
- Latest Version: 1.6
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Unknown
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pgsql_http_$v*
- RPM Ver :
1.6
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-http
- DEB Ver :
1.6
- DEB Deps: N/A
Packages
Installation
Install http
via the pig
CLI tool:
pig ext install pg_http; # Extension Namepig ext install http; # normalized package name
Install pg_http
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_http"]}' # -l <cls>
Install pg_http
RPM from YUM repo directly:
dnf install pgsql_http_17*;
dnf install pgsql_http_16*;
dnf install pgsql_http_15*;
dnf install pgsql_http_14*;
dnf install pgsql_http_13*;
Install pg_http
DEB from APT repo directly:
apt install postgresql-17-http;
apt install postgresql-16-http;
apt install postgresql-15-http;
apt install postgresql-14-http;
apt install postgresql-13-http;
Enable http
extension on PostgreSQL cluster:
Usage
https://github.com/pramsey/pgsql-http
Request / Response Schema:
Composite type "public.http_request"
Column | Type | Modifiers
--------------+-------------------+-----------
method | http_method |
uri | character varying |
headers | http_header[] |
content_type | character varying |
content | character varying |
Composite type "public.http_response"
Column | Type | Modifiers
--------------+-------------------+-----------
status | integer |
content_type | character varying |
headers | http_header[] |
content | character varying |
Examples
Sending HTTP GET requests with SQL
CREATE EXTENSION http;
-- get content
SELECT content FROM http_get('http://httpbun.com/');
-- get status and content_type
SELECT status, content_type FROM http_get('http://httpbun.com/');
-- status | content_type
-- --------+--------------------------
-- 200 | text/html; charset=utf-8
-- get headers
SELECT (unnest(headers)).* FROM http_get('http://httpbun.com/');
-- field | value
-- ---------------------------+--------------------------------------------------
-- Location | https://httpbun.com/
-- Date | Mon, 04 Nov 2024 09:00:36 GMT
-- Content-Length | 0
-- Connection | close
-- alt-svc | h3=":443"; ma=2592000
-- content-security-policy | frame-ancestors 'none'
-- content-type | text/html
-- date | Mon, 04 Nov 2024 09:00:37 GMT
-- strict-transport-security | max-age=31536000; includeSubDomains; preload
-- x-content-type-options | nosniff
-- x-powered-by | httpbun/af040d24038613575a85f74c2283ae79f8169927
-- (11 rows)
SELECT status, content::json->'form' AS form FROM http_post('http://httpbun.com/post', jsonb_build_object('myvar','myval','foo','bar'));
Issue http put requests:
SELECT status, content_type, content::json->>'data' AS data
FROM http_put('http://httpbun.com/put', 'some text', 'text/plain');
-- status | content_type | data
-- --------+------------------+-----------
-- 200 | application/json | some text
Issue http post request:
4 - pg_net
Async HTTP Requests
Overview
PIGSTY 3rd Party Extension: pg_net
: Async HTTP Requests
- Latest Version: 0.8.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Explicit Loading Required
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_net_$v*
- RPM Ver :
0.8.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-net
- DEB Ver :
0.8.0
- DEB Deps: N/A
Packages
Installation
Install pg_net
via the pig
CLI tool:
Install pg_net
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_net"]}' # -l <cls>
Install pg_net
RPM from YUM repo directly:
dnf install pg_net_17*;
dnf install pg_net_16*;
dnf install pg_net_15*;
dnf install pg_net_14*;
dnf install pg_net_13*;
Install pg_net
DEB from APT repo directly:
apt install postgresql-17-pg-net;
apt install postgresql-16-pg-net;
apt install postgresql-15-pg-net;
apt install postgresql-14-pg-net;
apt install postgresql-13-pg-net;
Extension pg_net
has to be added to shared_preload_libraries
shared_preload_libraries = 'pg_net'; # add to pg cluster config
Enable pg_net
extension on PostgreSQL cluster:
5 - pg_curl
Run curl actions for data transfer in URL syntax
Overview
PIGSTY 3rd Party Extension: pg_curl
: Run curl actions for data transfer in URL syntax
- Latest Version: 2.4
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_curl_$v*
- RPM Ver :
2.4
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-curl
- DEB Ver :
2.4
- DEB Deps: N/A
Packages
Installation
Install pg_curl
via the pig
CLI tool:
Install pg_curl
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_curl"]}' # -l <cls>
Install pg_curl
RPM from YUM repo directly:
dnf install pg_curl_17*;
dnf install pg_curl_16*;
dnf install pg_curl_15*;
dnf install pg_curl_14*;
dnf install pg_curl_13*;
Install pg_curl
DEB from APT repo directly:
apt install postgresql-17-pg-curl;
apt install postgresql-16-pg-curl;
apt install postgresql-15-pg-curl;
apt install postgresql-14-pg-curl;
apt install postgresql-13-pg-curl;
Enable pg_curl
extension on PostgreSQL cluster:
CREATE EXTENSION pg_curl;
Usage
CREATE EXTENSION pg_curl;
Perform HTTP Get:
-- wrap curl http get
CREATE OR REPLACE FUNCTION get(url TEXT) RETURNS TEXT LANGUAGE SQL AS $BODY$
WITH s AS (SELECT
curl_easy_reset(),
curl_easy_setopt_url(url),
curl_easy_perform(),
curl_easy_getinfo_data_in()
) SELECT convert_from(curl_easy_getinfo_data_in, 'utf-8') FROM s;
$BODY$;
SELECT get('https://www.postgresql.org/');
Perform Email SMTP:
CREATE OR REPLACE FUNCTION email(url TEXT, username TEXT, password TEXT, subject TEXT, sender TEXT, recipient TEXT, body TEXT, type TEXT) RETURNS TEXT LANGUAGE SQL AS $BODY$
WITH s AS (SELECT
curl_easy_reset(),
curl_easy_setopt_mail_from(sender),
curl_easy_setopt_password(password),
curl_easy_setopt_url(url),
curl_easy_setopt_username(username),
curl_header_append('From', sender),
curl_header_append('Subject', subject),
curl_header_append('To', recipient),
curl_mime_data(body, type:=type),
curl_recipient_append(recipient),
curl_easy_perform(),
curl_easy_getinfo_header_in()
) SELECT curl_easy_getinfo_header_in FROM s;
$BODY$;
Perform FTP download:
CREATE OR REPLACE FUNCTION download(url TEXT, username TEXT, password TEXT) RETURNS BYTEA LANGUAGE SQL AS $BODY$
WITH s AS (SELECT
curl_easy_reset(),
curl_easy_setopt_password(password),
curl_easy_setopt_url(url),
curl_easy_setopt_username(username),
curl_easy_perform(),
curl_easy_getinfo_data_in()
) SELECT curl_easy_getinfo_data_in FROM s;
$BODY$;
6 - pgjq
Use jq in Postgres
Overview
PIGSTY 3rd Party Extension: pgjq
: Use jq in Postgres
- Latest Version: 0.1.0
- Postgres Support:
17
,16
,15
,14
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pgjq_$v*
- RPM Ver :
0.1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pgjq
- DEB Ver :
0.1.0
- DEB Deps: N/A
Packages
Installation
Install pgjq
via the pig
CLI tool:
Install pgjq
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgjq"]}' # -l <cls>
Install pgjq
RPM from YUM repo directly:
dnf install pgjq_17*;
dnf install pgjq_16*;
dnf install pgjq_15*;
dnf install pgjq_14*;
Install pgjq
DEB from APT repo directly:
apt install postgresql-17-pgjq;
apt install postgresql-16-pgjq;
apt install postgresql-15-pgjq;
apt install postgresql-14-pgjq;
Enable pgjq
extension on PostgreSQL cluster:
7 - pgjwt
JSON Web Token API for Postgresql
Overview
PIGSTY 3rd Party Extension: pgjwt
: JSON Web Token API for Postgresql
- Latest Version: 0.2.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Unknown
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pgjwt_$v
- RPM Ver :
0.2.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pgjwt
- DEB Ver :
0.2.0
- DEB Deps: N/A
Packages
Installation
Install pgjwt
via the pig
CLI tool:
Install pgjwt
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgjwt"]}' # -l <cls>
Install pgjwt
RPM from YUM repo directly:
dnf install pgjwt_17;
dnf install pgjwt_16;
dnf install pgjwt_15;
dnf install pgjwt_14;
dnf install pgjwt_13;
Install pgjwt
DEB from APT repo directly:
apt install postgresql-17-pgjwt;
apt install postgresql-16-pgjwt;
apt install postgresql-15-pgjwt;
apt install postgresql-14-pgjwt;
apt install postgresql-13-pgjwt;
Enable pgjwt
extension on PostgreSQL cluster:
8 - pg_smtp_client
PostgreSQL extension to send email using SMTP
Overview
PIGSTY 3rd Party Extension: pg_smtp_client
: PostgreSQL extension to send email using SMTP
- Latest Version: 0.2.0
- Postgres Support:
17
,16
,15
,14
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas:
smtp_client
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_smtp_client_$v
- RPM Ver :
0.2.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-smtp-client
- DEB Ver :
0.2.0
- DEB Deps: N/A
Packages
Installation
Install pg_smtp_client
via the pig
CLI tool:
pig ext install pg_smtp_client
Install pg_smtp_client
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_smtp_client"]}' # -l <cls>
Install pg_smtp_client
RPM from YUM repo directly:
dnf install pg_smtp_client_17;
dnf install pg_smtp_client_16;
dnf install pg_smtp_client_15;
dnf install pg_smtp_client_14;
Install pg_smtp_client
DEB from APT repo directly:
apt install postgresql-17-pg-smtp-client;
apt install postgresql-16-pg-smtp-client;
apt install postgresql-15-pg-smtp-client;
apt install postgresql-14-pg-smtp-client;
Enable pg_smtp_client
extension on PostgreSQL cluster:
CREATE EXTENSION pg_smtp_client;
Usage
https://github.com/frectonz/pglite-fusion/blob/main/README.md
Enabling the extension
Connect to postgres and run the following command.
CREATE EXTENSION IF NOT EXISTS pg_smtp_client CASCADE;
Usage
Use the smtp_client.send_email()
function to send an email.
Function Parameters
Parameter |
Type |
Description |
System Configuration (Optional) |
subject |
text |
The subject of the email |
|
body |
text |
The body of the email |
|
html |
boolean |
Whether the body is HTML (true) or plain text (false) |
|
from_address |
text |
The from email address |
smtp_client.from_address |
recipients |
text[] |
The email addresses of the recipients |
|
ccs |
text[] |
The email addresses to CCs |
|
bccs |
text[] |
The email addresses to BCCs |
|
smtp_server |
text |
The SMTP server to use |
smtp_client.server |
smtp_port |
integer |
The port of the SMTP server |
smtp_client.port |
smtp_tls |
boolean |
Whether to use TLS |
smtp_client.tls |
smtp_username |
text |
The username for the SMTP server |
smtp_client.username |
smtp_password |
text |
The password for the SMTP server |
smtp_client.password |
Default Configuration
You can configure the following system-wide default values for some of the parameters (as indiciated in the table above) like this:
ALTER SYSTEM SET smtp_client.server TO 'smtp.example.com';
ALTER SYSTEM SET smtp_client.port TO 587;
ALTER SYSTEM SET smtp_client.tls TO true;
ALTER SYSTEM SET smtp_client.username TO 'MySmtpUsername';
ALTER SYSTEM SET smtp_client.password TO 'MySmtpPassword';
ALTER SYSTEM SET smtp_client.from_address TO '[email protected]';
SELECT pg_reload_conf();
Usage Examples
Send an email:
SELECT smtp_client.send_email('test subject', 'test body', false, '[email protected]', array['[email protected]'], null, null, 'smtp.example.com', 587, true, 'username', 'password');
Send an email using configured default values:
SELECT smtp_client.send_email('test subject', 'test body', false, null, array['[email protected]']);
Or, using named arguments:
SELECT smtp_client.send_email('test subject', 'test body', recipients => array['[email protected]']);
9 - pg_html5_email_address
PostgreSQL email validation that is consistent with the HTML5 spec
Overview
PIGSTY 3rd Party Extension: pg_html5_email_address
: PostgreSQL email validation that is consistent with the HTML5 spec
- Latest Version: 1.2.3
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_html5_email_address_$v
- RPM Ver :
1.2.3
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-html5-email-address
- DEB Ver :
1.2.3
- DEB Deps: N/A
Packages
Installation
Install pg_html5_email_address
via the pig
CLI tool:
pig ext install pg_html5_email_address
Install pg_html5_email_address
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_html5_email_address"]}' # -l <cls>
Install pg_html5_email_address
RPM from YUM repo directly:
dnf install pg_html5_email_address_17;
dnf install pg_html5_email_address_16;
dnf install pg_html5_email_address_15;
dnf install pg_html5_email_address_14;
dnf install pg_html5_email_address_13;
Install pg_html5_email_address
DEB from APT repo directly:
apt install postgresql-17-pg-html5-email-address;
apt install postgresql-16-pg-html5-email-address;
apt install postgresql-15-pg-html5-email-address;
apt install postgresql-14-pg-html5-email-address;
apt install postgresql-13-pg-html5-email-address;
Enable pg_html5_email_address
extension on PostgreSQL cluster:
CREATE EXTENSION pg_html5_email_address;
10 - url_encode
url_encode, url_decode functions
Overview
PIGSTY 3rd Party Extension: url_encode
: url_encode, url_decode functions
- Latest Version: 1.2
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
url_encode_$v*
- RPM Ver :
1.2
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-url-encode
- DEB Ver :
1.2
- DEB Deps: N/A
Packages
Installation
Install url_encode
via the pig
CLI tool:
pig ext install url_encode
Install url_encode
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["url_encode"]}' # -l <cls>
Install url_encode
RPM from YUM repo directly:
dnf install url_encode_17*;
dnf install url_encode_16*;
dnf install url_encode_15*;
dnf install url_encode_14*;
dnf install url_encode_13*;
Install url_encode
DEB from APT repo directly:
apt install postgresql-17-url-encode;
apt install postgresql-16-url-encode;
apt install postgresql-15-url-encode;
apt install postgresql-14-url-encode;
apt install postgresql-13-url-encode;
Enable url_encode
extension on PostgreSQL cluster:
CREATE EXTENSION url_encode;
11 - pgsql_tweaks
Some functions and views for daily usage
Overview
MIXED 3rd Party Extension: pgsql_tweaks
: Some functions and views for daily usage
- Latest Version: 0.10.7
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pgsql_tweaks_$v
- RPM Ver :
0.10.7
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pgsql-tweaks
- DEB Ver :
0.10.4
- DEB Deps: N/A
Packages
Installation
Install pgsql_tweaks
via the pig
CLI tool:
pig ext install pgsql_tweaks
Install pgsql_tweaks
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgsql_tweaks"]}' # -l <cls>
Install pgsql_tweaks
RPM from YUM repo directly:
dnf install pgsql_tweaks_17;
dnf install pgsql_tweaks_16;
dnf install pgsql_tweaks_15;
dnf install pgsql_tweaks_14;
dnf install pgsql_tweaks_13;
Install pgsql_tweaks
DEB from APT repo directly:
apt install postgresql-17-pgsql-tweaks;
apt install postgresql-16-pgsql-tweaks;
apt install postgresql-15-pgsql-tweaks;
apt install postgresql-14-pgsql-tweaks;
apt install postgresql-13-pgsql-tweaks;
Enable pgsql_tweaks
extension on PostgreSQL cluster:
CREATE EXTENSION pgsql_tweaks;
12 - pg_extra_time
Some date time functions and operators that,
Overview
MIXED 3rd Party Extension: pg_extra_time
: Some date time functions and operators that,
- Latest Version: 2.0.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_extra_time_$v
- RPM Ver :
2.0.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-extra-time
- DEB Ver :
2.0.0
- DEB Deps: N/A
Packages
Installation
Install pg_extra_time
via the pig
CLI tool:
pig ext install pg_extra_time
Install pg_extra_time
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_extra_time"]}' # -l <cls>
Install pg_extra_time
RPM from YUM repo directly:
dnf install pg_extra_time_17;
dnf install pg_extra_time_16;
dnf install pg_extra_time_15;
dnf install pg_extra_time_14;
dnf install pg_extra_time_13;
Install pg_extra_time
DEB from APT repo directly:
apt install postgresql-17-pg-extra-time;
apt install postgresql-16-pg-extra-time;
apt install postgresql-15-pg-extra-time;
apt install postgresql-14-pg-extra-time;
apt install postgresql-13-pg-extra-time;
Enable pg_extra_time
extension on PostgreSQL cluster:
CREATE EXTENSION pg_extra_time;
13 - pgpcre
Perl Compatible Regular Expression functions
Overview
MIXED 3rd Party Extension: pgpcre
: Perl Compatible Regular Expression functions
- Latest Version: 1
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pgpcre_$v
- RPM Ver :
1
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-pgpcre
- DEB Ver :
1
- DEB Deps: N/A
Packages
Installation
Install pgpcre
via the pig
CLI tool:
Install pgpcre
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgpcre"]}' # -l <cls>
Install pgpcre
RPM from YUM repo directly:
dnf install pgpcre_17;
dnf install pgpcre_16;
dnf install pgpcre_15;
dnf install pgpcre_14;
dnf install pgpcre_13;
Install pgpcre
DEB from APT repo directly:
apt install postgresql-17-pgpcre;
apt install postgresql-16-pgpcre;
apt install postgresql-15-pgpcre;
apt install postgresql-14-pgpcre;
apt install postgresql-13-pgpcre;
Enable pgpcre
extension on PostgreSQL cluster:
14 - icu_ext
Access ICU functions
Overview
MIXED 3rd Party Extension: icu_ext
: Access ICU functions
- Latest Version: 1.9
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
icu_ext_$v*
- RPM Ver :
1.9
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-icu-ext
- DEB Ver :
1.9
- DEB Deps: N/A
Packages
Installation
Install icu_ext
via the pig
CLI tool:
Install icu_ext
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["icu_ext"]}' # -l <cls>
Install icu_ext
RPM from YUM repo directly:
dnf install icu_ext_17*;
dnf install icu_ext_16*;
dnf install icu_ext_15*;
dnf install icu_ext_14*;
dnf install icu_ext_13*;
Install icu_ext
DEB from APT repo directly:
apt install postgresql-17-icu-ext;
apt install postgresql-16-icu-ext;
apt install postgresql-15-icu-ext;
apt install postgresql-14-icu-ext;
apt install postgresql-13-icu-ext;
Enable icu_ext
extension on PostgreSQL cluster:
CREATE EXTENSION icu_ext;
15 - pgqr
QR Code generator from PostgreSQL
Overview
PIGSTY 3rd Party Extension: pgqr
: QR Code generator from PostgreSQL
- Latest Version: 1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pgqr_$v*
- RPM Ver :
1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pgqr
- DEB Ver :
1.0
- DEB Deps: N/A
Packages
Installation
Install pgqr
via the pig
CLI tool:
Install pgqr
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgqr"]}' # -l <cls>
Install pgqr
RPM from YUM repo directly:
dnf install pgqr_17*;
dnf install pgqr_16*;
dnf install pgqr_15*;
dnf install pgqr_14*;
dnf install pgqr_13*;
Install pgqr
DEB from APT repo directly:
apt install postgresql-17-pgqr;
apt install postgresql-16-pgqr;
apt install postgresql-15-pgqr;
apt install postgresql-14-pgqr;
apt install postgresql-13-pgqr;
Enable pgqr
extension on PostgreSQL cluster:
16 - pg_protobuf
Protobuf support for PostgreSQL
Overview
PIGSTY 3rd Party Extension: pg_protobuf
: Protobuf support for PostgreSQL
- Latest Version: 1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_protobuf_$v
- RPM Ver :
1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-protobuf
- DEB Ver :
1.0
- DEB Deps: N/A
Packages
Installation
Install pg_protobuf
via the pig
CLI tool:
pig ext install pg_protobuf
Install pg_protobuf
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_protobuf"]}' # -l <cls>
Install pg_protobuf
RPM from YUM repo directly:
dnf install pg_protobuf_17;
dnf install pg_protobuf_16;
dnf install pg_protobuf_15;
dnf install pg_protobuf_14;
dnf install pg_protobuf_13;
Install pg_protobuf
DEB from APT repo directly:
apt install postgresql-17-pg-protobuf;
apt install postgresql-16-pg-protobuf;
apt install postgresql-15-pg-protobuf;
apt install postgresql-14-pg-protobuf;
apt install postgresql-13-pg-protobuf;
Enable pg_protobuf
extension on PostgreSQL cluster:
CREATE EXTENSION pg_protobuf;
17 - envvar
Fetch the value of an environment variable
Overview
PIGSTY 3rd Party Extension: envvar
: Fetch the value of an environment variable
- Latest Version: 1.0.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Unknown
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_envvar_$v*
- RPM Ver :
1.0.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-envvar
- DEB Ver :
1.0.0
- DEB Deps: N/A
Packages
Installation
Install envvar
via the pig
CLI tool:
Install envvar
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["envvar"]}' # -l <cls>
Install envvar
RPM from YUM repo directly:
dnf install pg_envvar_17*;
dnf install pg_envvar_16*;
dnf install pg_envvar_15*;
dnf install pg_envvar_14*;
dnf install pg_envvar_13*;
Install envvar
DEB from APT repo directly:
apt install postgresql-17-pg-envvar;
apt install postgresql-16-pg-envvar;
apt install postgresql-15-pg-envvar;
apt install postgresql-14-pg-envvar;
apt install postgresql-13-pg-envvar;
Enable envvar
extension on PostgreSQL cluster:
18 - floatfile
Simple file storage for arrays of floats
Overview
PIGSTY 3rd Party Extension: floatfile
: Simple file storage for arrays of floats
- Latest Version: 1.3.1
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
floatfile_$v*
- RPM Ver :
1.3.1
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-floatfile
- DEB Ver :
1.3.1
- DEB Deps: N/A
Packages
Installation
Install floatfile
via the pig
CLI tool:
pig ext install floatfile
Install floatfile
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["floatfile"]}' # -l <cls>
Install floatfile
RPM from YUM repo directly:
dnf install floatfile_17*;
dnf install floatfile_16*;
dnf install floatfile_15*;
dnf install floatfile_14*;
dnf install floatfile_13*;
Install floatfile
DEB from APT repo directly:
apt install postgresql-17-floatfile;
apt install postgresql-16-floatfile;
apt install postgresql-15-floatfile;
apt install postgresql-14-floatfile;
apt install postgresql-13-floatfile;
Enable floatfile
extension on PostgreSQL cluster:
CREATE EXTENSION floatfile;
19 - pg_readme
Generate a README.md document for a database extension or schema
Overview
MIXED 3rd Party Extension: pg_readme
: Generate a README.md document for a database extension or schema
- Latest Version: 0.7.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires:
hstore
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_readme_$v
- RPM Ver :
0.7.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-readme
- DEB Ver :
0.7.0
- DEB Deps: N/A
Packages
Installation
Install pg_readme
via the pig
CLI tool:
pig ext install pg_readme
Install pg_readme
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_readme"]}' # -l <cls>
Install pg_readme
RPM from YUM repo directly:
dnf install pg_readme_17;
dnf install pg_readme_16;
dnf install pg_readme_15;
dnf install pg_readme_14;
dnf install pg_readme_13;
Install pg_readme
DEB from APT repo directly:
apt install postgresql-17-pg-readme;
apt install postgresql-16-pg-readme;
apt install postgresql-15-pg-readme;
apt install postgresql-14-pg-readme;
apt install postgresql-13-pg-readme;
Enable pg_readme
extension on PostgreSQL cluster:
CREATE EXTENSION pg_readme CASCADE;
20 - ddl_historization
Historize the ddl changes inside PostgreSQL database
Overview
PIGSTY 3rd Party Extension: ddl_historization
: Historize the ddl changes inside PostgreSQL database
- Latest Version: 0.0.7
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires:
plpgsql
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
ddl_historization_$v
- RPM Ver :
0.0.7
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-ddl-historization
- DEB Ver :
0.0.7
- DEB Deps: N/A
Packages
Installation
Install ddl_historization
via the pig
CLI tool:
pig ext install ddl_historization
Install ddl_historization
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["ddl_historization"]}' # -l <cls>
Install ddl_historization
RPM from YUM repo directly:
dnf install ddl_historization_17;
dnf install ddl_historization_16;
dnf install ddl_historization_15;
dnf install ddl_historization_14;
dnf install ddl_historization_13;
Install ddl_historization
DEB from APT repo directly:
apt install postgresql-17-ddl-historization;
apt install postgresql-16-ddl-historization;
apt install postgresql-15-ddl-historization;
apt install postgresql-14-ddl-historization;
apt install postgresql-13-ddl-historization;
Enable ddl_historization
extension on PostgreSQL cluster:
CREATE EXTENSION ddl_historization CASCADE;
21 - data_historization
PLPGSQL Script to historize data in partitionned table
Overview
PIGSTY 3rd Party Extension: data_historization
: PLPGSQL Script to historize data in partitionned table
- Latest Version: 1.1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires:
plpgsql
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
data_historization_$v
- RPM Ver :
1.1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-data-historization
- DEB Ver :
1.1.0
- DEB Deps: N/A
Packages
Installation
Install data_historization
via the pig
CLI tool:
pig ext install data_historization
Install data_historization
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["data_historization"]}' # -l <cls>
Install data_historization
RPM from YUM repo directly:
dnf install data_historization_17;
dnf install data_historization_16;
dnf install data_historization_15;
dnf install data_historization_14;
dnf install data_historization_13;
Install data_historization
DEB from APT repo directly:
apt install postgresql-17-data-historization;
apt install postgresql-16-data-historization;
apt install postgresql-15-data-historization;
apt install postgresql-14-data-historization;
apt install postgresql-13-data-historization;
Enable data_historization
extension on PostgreSQL cluster:
CREATE EXTENSION data_historization CASCADE;
22 - schedoc
Cross documentation between Django and DBT projects
Overview
PIGSTY 3rd Party Extension: pg_schedoc
: Cross documentation between Django and DBT projects
- Latest Version: 0.0.2
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires:
ddl_historization
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_schedoc_$v
- RPM Ver :
0.0.2
- RPM Deps:
ddl_historization_$v
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-schedoc
- DEB Ver :
0.0.2
- DEB Deps:
postgresql-$v-ddl-historization
Packages
Installation
Install schedoc
via the pig
CLI tool:
pig ext install pg_schedoc; # Extension Namepig ext install schedoc; # normalized package name
Install pg_schedoc
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_schedoc"]}' # -l <cls>
Install pg_schedoc
RPM from YUM repo directly:
dnf install pg_schedoc_17;
dnf install pg_schedoc_16;
dnf install pg_schedoc_15;
dnf install pg_schedoc_14;
dnf install pg_schedoc_13;
Install pg_schedoc
DEB from APT repo directly:
apt install postgresql-17-pg-schedoc;
apt install postgresql-16-pg-schedoc;
apt install postgresql-15-pg-schedoc;
apt install postgresql-14-pg-schedoc;
apt install postgresql-13-pg-schedoc;
Enable schedoc
extension on PostgreSQL cluster:
CREATE EXTENSION schedoc CASCADE;
23 - hashlib
Stable hash functions for Postgres
Overview
PIGSTY 3rd Party Extension: pg_hashlib
: Stable hash functions for Postgres
- Latest Version: 1.1
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_hashlib_$v
- RPM Ver :
1.1
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-hashlib
- DEB Ver :
1.1
- DEB Deps: N/A
Packages
Installation
Install hashlib
via the pig
CLI tool:
pig ext install pg_hashlib; # Extension Namepig ext install hashlib; # normalized package name
Install pg_hashlib
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_hashlib"]}' # -l <cls>
Install pg_hashlib
RPM from YUM repo directly:
dnf install pg_hashlib_17;
dnf install pg_hashlib_16;
dnf install pg_hashlib_15;
dnf install pg_hashlib_14;
dnf install pg_hashlib_13;
Install pg_hashlib
DEB from APT repo directly:
apt install postgresql-17-pg-hashlib;
apt install postgresql-16-pg-hashlib;
apt install postgresql-15-pg-hashlib;
apt install postgresql-14-pg-hashlib;
apt install postgresql-13-pg-hashlib;
Enable hashlib
extension on PostgreSQL cluster:
CREATE EXTENSION hashlib;
24 - xxhash
xxhash functions for PostgreSQL
Overview
PIGSTY 3rd Party Extension: pg_xxhash
: xxhash functions for PostgreSQL
- Latest Version: 0.0.1
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Trusted, Can be created by user with
CREATE
Privilege
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_xxhash_$v*
- RPM Ver :
0.0.1
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-xxhash
- DEB Ver :
0.0.1
- DEB Deps: N/A
Packages
Installation
Install xxhash
via the pig
CLI tool:
pig ext install pg_xxhash; # Extension Namepig ext install xxhash; # normalized package name
Install pg_xxhash
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_xxhash"]}' # -l <cls>
Install pg_xxhash
RPM from YUM repo directly:
dnf install pg_xxhash_17*;
dnf install pg_xxhash_16*;
dnf install pg_xxhash_15*;
dnf install pg_xxhash_14*;
dnf install pg_xxhash_13*;
Install pg_xxhash
DEB from APT repo directly:
apt install postgresql-17-pg-xxhash;
apt install postgresql-16-pg-xxhash;
apt install postgresql-15-pg-xxhash;
apt install postgresql-14-pg-xxhash;
apt install postgresql-13-pg-xxhash;
Enable xxhash
extension on PostgreSQL cluster:
25 - shacrypt
Implements SHA256-CRYPT and SHA512-CRYPT password encryption schemes
Overview
PIGSTY 3rd Party Extension: shacrypt
: Implements SHA256-CRYPT and SHA512-CRYPT password encryption schemes
- Latest Version: 1.1
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
postgres_shacrypt_$v*
- RPM Ver :
1.1
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-shacrypt
- DEB Ver :
1.1
- DEB Deps: N/A
Packages
Installation
Install shacrypt
via the pig
CLI tool:
Install shacrypt
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["shacrypt"]}' # -l <cls>
Install shacrypt
RPM from YUM repo directly:
dnf install postgres_shacrypt_17*;
dnf install postgres_shacrypt_16*;
dnf install postgres_shacrypt_15*;
dnf install postgres_shacrypt_14*;
dnf install postgres_shacrypt_13*;
Install shacrypt
DEB from APT repo directly:
apt install postgresql-17-shacrypt;
apt install postgresql-16-shacrypt;
apt install postgresql-15-shacrypt;
apt install postgresql-14-shacrypt;
apt install postgresql-13-shacrypt;
Enable shacrypt
extension on PostgreSQL cluster:
CREATE EXTENSION shacrypt;
26 - cryptint
Encryption functions for int and bigint values
Overview
PIGSTY 3rd Party Extension: cryptint
: Encryption functions for int and bigint values
- Latest Version: 1.0.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
cryptint_$v*
- RPM Ver :
1.0.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-cryptint
- DEB Ver :
1.0.0
- DEB Deps: N/A
Packages
Installation
Install cryptint
via the pig
CLI tool:
Install cryptint
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["cryptint"]}' # -l <cls>
Install cryptint
RPM from YUM repo directly:
dnf install cryptint_17*;
dnf install cryptint_16*;
dnf install cryptint_15*;
dnf install cryptint_14*;
dnf install cryptint_13*;
Install cryptint
DEB from APT repo directly:
apt install postgresql-17-cryptint;
apt install postgresql-16-cryptint;
apt install postgresql-15-cryptint;
apt install postgresql-14-cryptint;
apt install postgresql-13-cryptint;
Enable cryptint
extension on PostgreSQL cluster:
CREATE EXTENSION cryptint;
27 - pguecc
uECC bindings for Postgres
Overview
PIGSTY 3rd Party Extension: pg_ecdsa
: uECC bindings for Postgres
- Latest Version: 1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can not install to arbitrary schema
- Trusted: Unknown
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pg_ecdsa_$v*
- RPM Ver :
1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-ecdsa
- DEB Ver :
1.0
- DEB Deps: N/A
Packages
Installation
Install pguecc
via the pig
CLI tool:
pig ext install pg_ecdsa; # Extension Namepig ext install pguecc; # normalized package name
Install pg_ecdsa
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_ecdsa"]}' # -l <cls>
Install pg_ecdsa
RPM from YUM repo directly:
dnf install pg_ecdsa_17*;
dnf install pg_ecdsa_16*;
dnf install pg_ecdsa_15*;
dnf install pg_ecdsa_14*;
dnf install pg_ecdsa_13*;
Install pg_ecdsa
DEB from APT repo directly:
apt install postgresql-17-pg-ecdsa;
apt install postgresql-16-pg-ecdsa;
apt install postgresql-15-pg-ecdsa;
apt install postgresql-14-pg-ecdsa;
apt install postgresql-13-pg-ecdsa;
Enable pguecc
extension on PostgreSQL cluster:
28 - sparql
Query SPARQL datasource with SQL
Overview
PIGSTY 3rd Party Extension: pgsparql
: Query SPARQL datasource with SQL
- Latest Version: 1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL
- Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas:
sparql
- Requires:
plperl
, plperlu
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
pgsparql_$v
- RPM Ver :
1.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pgsparql
- DEB Ver :
1.0
- DEB Deps: N/A
Packages
Installation
Install sparql
via the pig
CLI tool:
pig ext install pgsparql; # Extension Namepig ext install sparql; # normalized package name
Install pgsparql
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgsparql"]}' # -l <cls>
Install pgsparql
RPM from YUM repo directly:
dnf install pgsparql_17;
dnf install pgsparql_16;
dnf install pgsparql_15;
dnf install pgsparql_14;
dnf install pgsparql_13;
Install pgsparql
DEB from APT repo directly:
apt install postgresql-17-pgsparql;
apt install postgresql-16-pgsparql;
apt install postgresql-15-pgsparql;
apt install postgresql-14-pgsparql;
apt install postgresql-13-pgsparql;
Enable sparql
extension on PostgreSQL cluster:
CREATE EXTENSION sparql CASCADE;