macOS
brew install postgresql@18local Homebrew formula metadata
sudo port install postgresql18MacPorts ports tree · databases/postgresql18/Portfile · source: api.github.com
brew / rank 316
Object-relational database system. Version 18.6 via Homebrew; verified 2026-10-25. Also installable with winget: winget install --id PostgreSQL.PostgreSQL.18 -e.
install
brew install postgresql@18local Homebrew formula metadata
sudo port install postgresql18MacPorts ports tree · databases/postgresql18/Portfile · source: api.github.com
sudo apk add postgresql18Alpine Linux edge package indexes · postgresql18 · source: dl-cdn.alpinelinux.org
sudo zypper install postgresql18openSUSE Tumbleweed package metadata · postgresql18 · source: download.opensuse.org
sudo dnf install postgresqlFedora Rawhide package metadata · postgresql · source: dl.fedoraproject.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.18 -eWindows Package Manager source index · PostgreSQL.PostgreSQL.18 · source: cdn.winget.microsoft.com
choco install postgresql18Chocolatey community package catalog · postgresql18 · source: community.chocolatey.org
scoop install main/postgresqlScoop official bucket manifest trees · bucket/postgresql.json · source: api.github.com
overview
Object-relational database system
No executable aliases were found in the local package database.
history
PostgreSQL is an open-source object-relational database system. This package tracks the PostgreSQL 18 major release and includes the server, interactive client, and extensive administration toolset.
PostgreSQL descends from the POSTGRES research project led by Michael Stonebraker at the University of California, Berkeley. Implementation began in 1986, and the research system progressed through several releases and production uses.
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 preserve the POSTGRES lineage while recognizing its SQL support.
PostgreSQL moved from a Berkeley research system to a community-developed open-source database. The project reports use across major operating systems and a reputation for reliability, extensibility, data integrity, and standards-oriented relational workloads.
Version 18 continues the project's annual major-release cadence and adds performance, upgrade, UUIDv7, and OAuth-related improvements.
Administrators initialize and operate database clusters with tools such as `initdb`, `postgres`, and `pg_ctl`; users connect interactively with `psql`; backup and migration workflows use `pg_dump`, `pg_restore`, `pg_basebackup`, and `pg_upgrade`.
The principal server configuration files conventionally live in `PGDATA`, although PostgreSQL permits relocating them. libpq clients can read passwords from `.pgpass` or the Windows `pgpass.conf` location.
PostgreSQL is a cornerstone package in Unix-like repositories: one formula supplies the server, the `psql` client, cluster-management programs, backup and restore utilities, benchmarking tools, and development interfaces.
Its major versions are commonly packaged in parallel because database clusters require deliberate upgrade and compatibility planning. The `postgresql@18` formula identifies that versioned packaging model rather than an unrelated fork.
security posture
No matching local secret-handling manifest was found for postgresql@18. 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@18 |
|---|---|
| Version | 18.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/postgresql@18 |
| Homepage | https://www.postgresql.org/ |
| Upstream docs | https://www.postgresql.org/ |
| License | PostgreSQL |
| Source archive | https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2 |
| Last updated | 2026-10-25T01:59:05Z |
| Pulse | updated |
| Dependencies | gettext, icu4c@79, krb5, lz4, openssl@4, readline, zstd |
| Build dependencies | docbook, docbook-xsl, gettext, pkgconf |
| Uses from macOS | curl, 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@18 When uninstalling, some dead symlinks are left behind so you may want to run: brew cleanup --prune-prefix If the service fails to start with a "postmaster.pid" lock file error after an unclean shutdown, and no postgres is running, remove the stale file: rm $HOMEBREW_PREFIX/var/postgresql@18/postmaster.pid |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgresql@18 |
| Aliases |
|
| 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.
PostgreSQL.PostgreSQL.18
winget install --id PostgreSQL.PostgreSQL.18 -epostgresql18
sudo port install postgresql18libecpg 18.6-r0
ECPG - Embedded SQL in C
sudo apk add libecpglibecpg-dev 18.6-r0
ECPG - Embedded SQL in C (development files)
sudo apk add libecpg-devlibpq 18.6-r0
PostgreSQL client library
sudo apk add libpqlibpq-dev 18.6-r0
PostgreSQL client library (development files)
sudo apk add libpq-devpostgresql18 18.6-r0
A sophisticated object-relational DBMS, version 18
sudo apk add postgresql18postgresql18-client 18.6-r0
PostgreSQL client
sudo apk add postgresql18-clientpostgresql18-contrib 18.6-r0
Extension modules distributed with PostgreSQL
sudo apk add postgresql18-contribpostgresql18-contrib-jit 18.6-r0
Extension modules distributed with PostgreSQL (JIT support)
sudo apk add postgresql18-contrib-jitpostgresql18-dev 18.6-r0
A sophisticated object-relational DBMS, version 18 (development files)
sudo apk add postgresql18-devpostgresql18-doc 18.6-r0
A sophisticated object-relational DBMS, version 18 (documentation)
sudo apk add postgresql18-docpostgresql18-jit 18.6-r0
Just-in-time compilation support for PostgreSQL
sudo apk add postgresql18-jitpostgresql18-openrc 18.6-r0
A sophisticated object-relational DBMS, version 18 (OpenRC init scripts)
sudo apk add postgresql18-openrcpostgresql18-plperl 18.6-r0
PL/Perl procedural language for PostgreSQL
sudo apk add postgresql18-plperlpostgresql18-plperl-contrib 18.6-r0
PL/Perl extension modules distributed with PostgreSQL
sudo apk add postgresql18-plperl-contribsource 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.