topn

type for top-n JSONB

Overview

PGDG 3rd Party Extension: topn : type for top-n JSONB

Information

Metadata

  • Latest Version: 2.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: Unknown
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PGDG
  • RPM Name: topn_$v*
  • RPM Ver : 2.7.0
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-topn
  • DEB Ver : 2.7.0
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 topn_17
PGDG 2.7.0
topn_16
PGDG 2.7.0
topn_15
PGDG 2.7.0
topn_14
PGDG 2.7.0
topn_13
PGDG 2.7.0
el8 aarch64 topn_17
PGDG 2.7.0
topn_16
PGDG 2.7.0
topn_15
PGDG 2.7.0
topn_14
PGDG 2.7.0
topn_13
PGDG 2.7.0
el9 x86_64 topn_17
PGDG 2.7.0
topn_16
PGDG 2.7.0
topn_15
PGDG 2.7.0
topn_14
PGDG 2.7.0
topn_13
PGDG 2.7.0
el9 aarch64 topn_17
PGDG 2.7.0
topn_16
PGDG 2.7.0
topn_15
PGDG 2.7.0
topn_14
PGDG 2.7.0
topn_13
PGDG 2.7.0
d12 x86_64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0
d12 aarch64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0
u22 x86_64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0
u22 aarch64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0
u24 x86_64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0
u24 aarch64 postgresql-17-topn
PIGSTY 2.7.0
postgresql-16-topn
PIGSTY 2.7.0
postgresql-15-topn
PIGSTY 2.7.0
postgresql-14-topn
PIGSTY 2.7.0
postgresql-13-topn
PIGSTY 2.7.0

Installation

Install topn via the pig CLI tool:

pig ext install topn

Install topn via Pigsty playbook:

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

Install topn RPM from YUM repo directly:

dnf install topn_17*;
dnf install topn_16*;
dnf install topn_15*;
dnf install topn_14*;
dnf install topn_13*;

Install topn DEB from APT repo directly:

apt install postgresql-17-topn;
apt install postgresql-16-topn;
apt install postgresql-15-topn;
apt install postgresql-14-topn;
apt install postgresql-13-topn;

Enable topn extension on PostgreSQL cluster:

CREATE EXTENSION topn;




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