pg_sqlog

Provide SQL interface to logs

Overview

PIGSTY 3rd Party Extension: pg_sqlog : Provide SQL interface to logs

Information

Metadata

  • 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: Can be installed into other schemas
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: sqlog
  • Requires: file_fdw

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_sqlog_$v
  • RPM Ver : 1.6
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-sqlog
  • DEB Ver : 1.6
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el8 aarch64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el9 x86_64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el9 aarch64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
d12 x86_64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9
d12 aarch64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9
u22 x86_64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9
u22 aarch64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9
u24 x86_64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9
u24 aarch64 postgresql-17-pg-sqlog
PIGSTY 3.1.9
postgresql-16-pg-sqlog
PIGSTY 3.1.9
postgresql-15-pg-sqlog
PIGSTY 3.1.9
postgresql-14-pg-sqlog
PIGSTY 3.1.9
postgresql-13-pg-sqlog
PIGSTY 3.1.9

Installation

Install pg_sqlog via the pig CLI tool:

pig ext install pg_sqlog

Install pg_sqlog via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_sqlog"]}' # -l <cls>

Install pg_sqlog RPM from YUM repo directly:

dnf install pg_sqlog_17;
dnf install pg_sqlog_16;
dnf install pg_sqlog_15;
dnf install pg_sqlog_14;
dnf install pg_sqlog_13;

Install pg_sqlog DEB from APT repo directly:

apt install postgresql-17-pg-sqlog;
apt install postgresql-16-pg-sqlog;
apt install postgresql-15-pg-sqlog;
apt install postgresql-14-pg-sqlog;
apt install postgresql-13-pg-sqlog;

Enable pg_sqlog extension on PostgreSQL cluster:

CREATE EXTENSION pg_sqlog CASCADE;




Last modified 2025-02-17: add extension part (cfa504b)