macOS
brew install postgresql@16local Homebrew formula metadata
sudo port install postgresql16MacPorts ports tree · databases/postgresql16/Portfile · source: api.github.com
brew / rank 296
Object-relational database system. Version 16.15 via Homebrew; verified 2026-10-25. Also installable with ubuntu: sudo apt install libecpg-compat3.
install
brew install postgresql@16local Homebrew formula metadata
sudo port install postgresql16MacPorts ports tree · databases/postgresql16/Portfile · source: api.github.com
sudo apt install postgresql-16Ubuntu 24.04 LTS package indexes · postgresql-16 · source: archive.ubuntu.com
sudo apk add postgresql16Alpine Linux edge package indexes · postgresql16 · source: dl-cdn.alpinelinux.org
sudo dnf install postgresql16Fedora Rawhide package metadata · postgresql16 · source: dl.fedoraproject.org
sudo zypper install postgresql16openSUSE Tumbleweed package metadata · postgresql16 · source: download.opensuse.org
sudo apt install postgresqlDebian stable package indexes · postgresql · source: deb.debian.org
nix profile install nixpkgs#postgresqlnixpkgs package indexes · postgresql · source: raw.githubusercontent.com
sudo pacman -S postgresqlArch Linux sync databases · postgresql · source: geo.mirror.pkgbuild.com
winget install --id PostgreSQL.PostgreSQL.16 -eWindows Package Manager source index · PostgreSQL.PostgreSQL.16 · source: cdn.winget.microsoft.com
choco install postgresql16Chocolatey community package catalog · postgresql16 · source: community.chocolatey.org
scoop install versions/postgresql16Scoop official bucket manifest trees · bucket/postgresql16.json · source: api.github.com
overview
Object-relational database system
No executable aliases were found in the local package database.
history
PostgreSQL 16 is the 2023 major line of the open-source object-relational database system, packaged with its server and extensive client, operations, backup, and development utilities.
PostgreSQL descends from the POSTGRES project begun at the University of California, Berkeley in 1986 under Michael Stonebraker. Andrew Yu and Jolly Chen added an SQL interpreter in 1994 and released the result as Postgres95; the community adopted the PostgreSQL name in 1996 to reflect both the POSTGRES lineage and SQL support.
PostgreSQL 16 added logical replication from standby servers, parallel application of large replicated transactions, the `pg_stat_io` monitoring view, additional SQL/JSON functions, and performance improvements in vacuuming and parallel joins.
PostgreSQL grew from a university research system into a community-maintained open-source database used for research and production workloads. The project describes PostgreSQL as having a strong reputation for reliability, data integrity, extensibility, and standards-oriented SQL support.
PostgreSQL 16 is a versioned major line released on September 14, 2023. PostgreSQL's five-year major-version support policy and requirement for explicit major-version upgrades encourage operating-system package collections to retain parallel, versioned packages for applications that cannot immediately migrate.
Initialize and operate a database cluster, connect with `psql`, run SQL interactively or from scripts, and use bundled tools such as `pg_dump`, `pg_restore`, `pg_basebackup`, `pgbench`, and `pg_upgrade`. Keep the current minor release within the PostgreSQL 16 line and review compatibility notes before major upgrades.
The versioned Homebrew formula gives administrators and developers a reproducible PostgreSQL 16 toolchain rather than silently moving a cluster across incompatible major storage formats. PostgreSQL major upgrades require dump/restore, `pg_upgrade`, or logical replication, making the selected major line operationally meaningful.
The package includes the server, `psql`, cluster administration commands, backup and restore utilities, upgrade tooling, replication helpers, benchmarking tools, and maintenance commands. PostgreSQL 16 is especially relevant for operators interested in `pg_stat_io`, logical replication from standbys, parallel subscription apply, and improved vacuum freezing.
security posture
No matching local secret-handling manifest was found for postgresql@16. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$PGDATA/postgresql.conf$PGDATA/pg_hba.conf$PGDATA/pg_ident.confCredential-bearing paths to review before unattended agent runs.
~/.pgpass%APPDATA%\postgresql\pgpass.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
| No executable data was present. | |||
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:postgresql@16 |
|---|---|
| Version | 16.15 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/postgresql@16 |
| Homepage | https://www.postgresql.org/ |
| Upstream docs | https://www.postgresql.org/ |
| License | PostgreSQL |
| Source archive | https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2 |
| Last updated | 2026-10-25T01:07:48Z |
| Pulse | updated |
| Dependencies | gettext, icu4c@79, krb5, lz4, openssl@4, readline, zstd |
| Build dependencies | gettext, pkgconf |
| Uses from macOS | libxml2, libxslt, openldap, perl |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | This formula has created a default database cluster with: initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@16 |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgresql@16 |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libecpg-compat3 16.2-1ubuntu4
older version of run-time library for ECPG programs
sudo apt install libecpg-compat3libecpg-dev 16.2-1ubuntu4
development files for ECPG (Embedded PostgreSQL for C)
sudo apt install libecpg-devlibecpg6 16.2-1ubuntu4
run-time library for ECPG programs
sudo apt install libecpg6libpgtypes3 16.2-1ubuntu4
shared library libpgtypes for PostgreSQL 16
sudo apt install libpgtypes3libpq-dev 16.2-1ubuntu4
header files for libpq5 (PostgreSQL library)
sudo apt install libpq-devlibpq5 16.2-1ubuntu4
PostgreSQL C client library
sudo apt install libpq5postgresql-16 16.2-1ubuntu4
The World's Most Advanced Open Source Relational Database
sudo apt install postgresql-16postgresql-client-16 16.2-1ubuntu4
front-end programs for PostgreSQL 16
sudo apt install postgresql-client-16postgresql-doc-16 16.2-1ubuntu4
documentation for the PostgreSQL database management system
sudo apt install postgresql-doc-16postgresql-plperl-16 16.2-1ubuntu4
PL/Perl procedural language for PostgreSQL 16
sudo apt install postgresql-plperl-16postgresql-plpython3-16 16.2-1ubuntu4
PL/Python 3 procedural language for PostgreSQL 16
sudo apt install postgresql-plpython3-16postgresql-pltcl-16 16.2-1ubuntu4
PL/Tcl procedural language for PostgreSQL 16
sudo apt install postgresql-pltcl-16postgresql-server-dev-16 16.2-1ubuntu4
development files for PostgreSQL 16 server-side programming
sudo apt install postgresql-server-dev-16PostgreSQL.PostgreSQL.16
winget install --id PostgreSQL.PostgreSQL.16 -epostgresql16
sudo port install postgresql16postgresql16 16.15-r0
A sophisticated object-relational DBMS, version 16
sudo apk add postgresql16source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.