pg_readonly

cluster database read only

Overview

PGDG 1st Party Extension: pg_readonly : cluster database read only

Information

Metadata

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

RPM / DEB

  • RPM Repo: PGDG
  • RPM Name: pg_readonly_$v*
  • RPM Ver : 1.0.0
  • RPM Deps: N/A
  • DEB Repo: PGDG
  • DEB Name: postgresql-$v-pg-readonly
  • DEB Ver : 1.0.0
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_readonly_17
PGDG 1.0.3
pg_readonly_16
PGDG 1.0.3
pg_readonly_15
PGDG 1.0.3
pg_readonly_14
PGDG 1.0.3
pg_readonly_13
PGDG 1.0.3
el8 aarch64 pg_readonly_17
PGDG 1.0.3
pg_readonly_16
PGDG 1.0.3
pg_readonly_15
PGDG 1.0.3
pg_readonly_14
PGDG 1.0.3
pg_readonly_13
PGDG 1.0.3
el9 x86_64 pg_readonly_17
PGDG 1.0.3
pg_readonly_16
PGDG 1.0.3
pg_readonly_15
PGDG 1.0.3
pg_readonly_14
PGDG 1.0.3
pg_readonly_13
PGDG 1.0.3
el9 aarch64 pg_readonly_17
PGDG 1.0.3
pg_readonly_16
PGDG 1.0.3
pg_readonly_15
PGDG 1.0.3
pg_readonly_14
PGDG 1.0.3
pg_readonly_13
PGDG 1.0.3
d12 x86_64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0
d12 aarch64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0
u22 x86_64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0
u22 aarch64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0
u24 x86_64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0
u24 aarch64 postgresql-17-pg-readonly
PIGSTY 1.0.0
postgresql-16-pg-readonly
PIGSTY 1.0.0
postgresql-15-pg-readonly
PIGSTY 1.0.0
postgresql-14-pg-readonly
PIGSTY 1.0.0
postgresql-13-pg-readonly
PIGSTY 1.0.0

Installation

Install pg_readonly via the pig CLI tool:

pig ext install pg_readonly

Install pg_readonly via Pigsty playbook:

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

Install pg_readonly RPM from YUM repo directly:

dnf install pg_readonly_17*;
dnf install pg_readonly_16*;
dnf install pg_readonly_15*;
dnf install pg_readonly_14*;
dnf install pg_readonly_13*;

Install pg_readonly DEB from APT repo directly:

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

Enable pg_readonly extension on PostgreSQL cluster:

CREATE EXTENSION pg_readonly;




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