postgresql@14 (deprecated)

Disable date: 2026-11-12

Install command:
brew install postgresql@14

Object-relational database system

https://www.postgresql.org/

License: PostgreSQL

Development: Pull requests

Formula JSON API: /api/formula/postgresql@14.json

Formula code: postgresql@14.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 14.24

Other versions:

postgresql@18 18.6 Object-relational database system
postgresql@17 17.11 Object-relational database system
postgresql@16 16.15 Object-relational database system
postgresql@15 15.19 Object-relational database system
postgresql@13 13.23 Object-relational database system
postgresql@12 12.22 Object-relational database system

Depends on:

icu4c@78 78.3 C/C++ and Java libraries for Unicode and globalization
krb5 1.22.2 Network authentication protocol
lz4 1.10.0 Extremely Fast Compression algorithm
openssl@3 3.6.4 Cryptography and SSL/TLS Toolkit
readline 8.3.3 Library for command-line editing

Depends on when building from source:

pkgconf 3.0.6 Package compiler and linker metadata toolkit

Uses from macOS: libxml2, libxslt, openldap, perl

Binaries: clusterdb, createdb, createuser, dropdb, dropuser, ecpg, initdb, oid2name, pg_amcheck, pg_archivecleanup, pg_basebackup, pg_checksums, pg_config, pg_controldata, pg_ctl, pg_dump, pg_dumpall, pg_isready, pg_receivewal, pg_recvlogical, pg_resetwal, pg_restore, pg_rewind, pg_test_fsync, pg_test_timing, pg_upgrade, pg_verifybackup, pg_waldump, pgbench, postgres, postmaster, psql, reindexdb, vacuumdb, vacuumlo

Service:

Start now and at login: brew services start postgresql@14
Run directly: $HOMEBREW_PREFIX/opt/postgresql@14/bin/postgres -D $HOMEBREW_PREFIX/var/postgresql@14
If an old PostgreSQL data directory ($HOMEBREW_PREFIX/var/postgres) still exists,
you can migrate to a versioned data directory by running:
    mv -v "$HOMEBREW_PREFIX/var/postgres" "$HOMEBREW_PREFIX/var/postgresql@14"

(Make sure PostgreSQL is stopped before executing this command)

This formula has created a default database cluster with:
    initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@14

Analytics:

30 days90 days365 days
Installs10,07221,511243,317
Installs (--HEAD)1638522
Installs on Request10,02421,364240,316
Installs on Request (--HEAD)1638522
Build Errors5