OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

pg-toolbox-3p1

programs to aid the PostgreSQL administrator

Back to search · Not supplied

Description

The PostgreSQL Toolbox is a collection of small programs to aid the PostgreSQL administrator and developer. * pgcomment parses SQL files which should contain DDL and (javadoc) comments and can generate the appropriate COMMENT ON statements or HTML and LaTeX fragments. * pgstat shows the queries the PostgreSQL server is currently executing and optionally idle connections. * listdb lists all databases like the \l+ command in psql. * dbsize tells the overall size of a single database. * dbrelationsize tells the size of tables, view, indices, sequences of a specific database. * dbstat prints the collected statistics about a database. * listlock prints locks held by a database. * xloginfo shows the current write and insert location in the xlogs. * pg_file2str reads a file from STDIN or the filename given as its first command line argument and prints the file properly escaped as a PostgreSQL string literal to STDOUT.

Package information

Ports path
databases/pg-toolbox
Package architecture
amd64
Maintainer
Pierre-Emmanuel Andre <pea@openbsd.org>
Categories
databases, sysutils
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Installing and updating packages · Package details as JSON