pkg.soopen package index

brew / rank 318

Install postgresql@17 with Homebrew, apt, winget, apk, chocolatey, dnf, MacPorts, zypper, scoop, Nix, pacman

Object-relational database system. Version 17.11 via Homebrew; verified 2026-10-25. Also installable with debian: sudo apt install libecpg-compat3.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install postgresql@17

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install postgresql17

MacPorts ports tree · databases/postgresql17/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install postgresql-17

Debian stable package indexes · postgresql-17 · source: deb.debian.org

Alpine Linux apkverified · 92%
sudo apk add postgresql17

Alpine Linux edge package indexes · postgresql17 · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install postgresql17

Fedora Rawhide package metadata · postgresql17 · source: dl.fedoraproject.org

openSUSE zypperverified · 92%
sudo zypper install postgresql17

openSUSE Tumbleweed package metadata · postgresql17 · source: download.opensuse.org

Nixverified · 92%
nix profile install nixpkgs#postgresql

nixpkgs package indexes · postgresql · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S postgresql

Arch Linux sync databases · postgresql · source: geo.mirror.pkgbuild.com

Ubuntu aptverified · 92%
sudo apt install postgresql

Ubuntu 24.04 LTS package indexes · postgresql · source: archive.ubuntu.com

Windows

Windows Package Managerverified · 92%
winget install --id PostgreSQL.PostgreSQL.17 -e

Windows Package Manager source index · PostgreSQL.PostgreSQL.17 · source: cdn.winget.microsoft.com

Chocolateyverified · 92%
choco install postgresql17

Chocolatey community package catalog · postgresql17 · source: community.chocolatey.org

Scoopverified · 92%
scoop install versions/postgresql17

Scoop official bucket manifest trees · bucket/postgresql17.json · source: api.github.com

overview

Package summary

Object-relational database system

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

PostgreSQL 17 is the 2024 major line of the open-source object-relational database system, distributed with its server and a broad suite of interactive, administrative, backup, replication, and development tools.

Project history

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 17 introduced a new memory-management system for `VACUUM`, expanded SQL/JSON support with `JSON_TABLE`, improved high-concurrency and sequential-read performance, enhanced logical replication and upgrade continuity, and added incremental backup support to `pg_basebackup`.

Adoption history

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 17 is a versioned major line released on September 26, 2024. 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.

How it is used

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`, `pg_combinebackup`, `pgbench`, and `pg_upgrade`. Keep the current minor release within the PostgreSQL 17 line and review compatibility notes before major upgrades.

Why package nerds care

The versioned Homebrew formula gives administrators and developers a reproducible PostgreSQL 17 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 17 is notable for incremental `pg_basebackup`, `JSON_TABLE`, logical-replication failover improvements, and new utilities such as `pg_createsubscriber` and `pg_combinebackup`.

Timeline

  • 1986: Implementation of the Berkeley POSTGRES project began.
  • 1994: Postgres95 added an SQL interpreter and was released as open source.
  • 1996: The project adopted the PostgreSQL name and version 6.0 numbering.
  • 2024-09-26: PostgreSQL 17 was released.

Related projects

  • PostGIS extends PostgreSQL with spatial objects, indexes, and GIS processing. pgAdmin provides graphical administration and development, pgcli supplies an interactive terminal with contextual completion, and pgBackRest handles PostgreSQL backup, WAL archiving, and restore workflows.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for postgresql@17. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 7 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$PGDATA/postgresql.conf$PGDATA/pg_hba.conf$PGDATA/pg_ident.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pgpass
Windows
%APPDATA%\postgresql\pgpass.conf

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and 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.

page generated2026-11-04
manager version17.11
manager updated2026-10-25
local dataok
upstreamnot checked
latest detectednot detected

https://www.postgresql.org/

install metadata

Package metadata

Package keybrew:postgresql@17
Version17.11
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/postgresql@17
Homepagehttps://www.postgresql.org/
Upstream docshttps://www.postgresql.org/
LicensePostgreSQL
Source archivehttps://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2
Last updated2026-10-25T01:58:36Z
Pulseupdated
Dependenciesgettext, icu4c@79, krb5, lz4, openssl@4, readline, zstd
Build dependenciesdocbook, docbook-xsl, gettext, pkgconf
Uses from macOSlibxml2, libxslt, openldap, perl
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsThis formula has created a default database cluster with: initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@17 When uninstalling, some dead symlinks are left behind so you may want to run: brew cleanup --prune-prefix

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepostgresql@17
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libecpg-compat3 17.10-0+deb13u1

older version of run-time library for ECPG programs

http://www.postgresql.org/

sudo apt install libecpg-compat3
  • Section: libs
  • Architecture: amd64
  • Source Package: postgresql-17
  • 3 dependencies
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecpg-compat3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libecpg-dev 17.10-0+deb13u1

development files for ECPG (Embedded PostgreSQL for C)

http://www.postgresql.org/

sudo apt install libecpg-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: postgresql-17
  • 5 dependencies
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecpg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libecpg6 17.10-0+deb13u1

run-time library for ECPG programs

http://www.postgresql.org/

sudo apt install libecpg6
  • Section: libs
  • Architecture: amd64
  • Source Package: postgresql-17
  • 3 dependencies
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecpg6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpgtypes3 17.10-0+deb13u1

shared library libpgtypes for PostgreSQL 17

http://www.postgresql.org/

sudo apt install libpgtypes3
  • Section: libs
  • Architecture: amd64
  • Source Package: postgresql-17
  • 1 dependencies
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpgtypes3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpq-dev 17.10-0+deb13u1

header files for libpq5 (PostgreSQL library)

http://www.postgresql.org/

sudo apt install libpq-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: postgresql-17
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpq-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpq5 17.10-0+deb13u1

PostgreSQL C client library

http://www.postgresql.org/

sudo apt install libpq5
  • Section: libs
  • Architecture: amd64
  • Source Package: postgresql-17
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpq5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-17 17.10-0+deb13u1

The World's Most Advanced Open Source Relational Database

http://www.postgresql.org/

sudo apt install postgresql-17
  • Section: database
  • Architecture: amd64
  • 26 dependencies
  • 2 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-client-17 17.10-0+deb13u1

front-end programs for PostgreSQL 17

http://www.postgresql.org/

sudo apt install postgresql-client-17
  • Section: database
  • Architecture: amd64
  • Source Package: postgresql-17
  • 9 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-client-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-doc-17 17.10-0+deb13u1

documentation for the PostgreSQL database management system

http://www.postgresql.org/

sudo apt install postgresql-doc-17
  • Section: doc
  • Architecture: all
  • Source Package: postgresql-17
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-doc-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-plperl-17 17.10-0+deb13u1

PL/Perl procedural language for PostgreSQL 17

http://www.postgresql.org/

sudo apt install postgresql-plperl-17
  • Section: database
  • Architecture: amd64
  • Source Package: postgresql-17
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-plperl-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-plpython3-17 17.10-0+deb13u1

PL/Python 3 procedural language for PostgreSQL 17

http://www.postgresql.org/

sudo apt install postgresql-plpython3-17
  • Section: database
  • Architecture: amd64
  • Source Package: postgresql-17
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-plpython3-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-pltcl-17 17.10-0+deb13u1

PL/Tcl procedural language for PostgreSQL 17

http://www.postgresql.org/

sudo apt install postgresql-pltcl-17
  • Section: database
  • Architecture: amd64
  • Source Package: postgresql-17
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-pltcl-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-server-dev-17 17.10-0+deb13u1

development files for PostgreSQL 17 server-side programming

http://www.postgresql.org/

sudo apt install postgresql-server-dev-17
  • Section: libdevel
  • Architecture: amd64
  • Source Package: postgresql-17
  • 6 dependencies
  • normalized package name match
  • Matched by: Postgresql 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-server-dev-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
winget95%

PostgreSQL.PostgreSQL.17

winget install --id PostgreSQL.PostgreSQL.17 -e
  • normalized package name match
  • Matched by: Postgresql 17
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: PostgreSQL.PostgreSQL.17 from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

postgresql17

sudo port install postgresql17
  • package manager index match
  • Matched by: Postgresql17
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/postgresql17/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

postgresql17 17.11-r0

A sophisticated object-relational DBMS, version 17

https://www.postgresql.org/

sudo apk add postgresql17
  • License: PostgreSQL
  • Architecture: x86_64
  • Source Package: postgresql17
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Postgresql17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: postgresql17 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation