Install command:
brew install postgresql

Also known as: postgres, postgresql@13

Object-relational database system

License: PostgreSQL

/api/formula-linux/postgresql.json (JSON API)

/api/bottle-linux/postgresql.json (Bottle JSON API)

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel big sur
64-bit linux
ARM64 big sur

Current versions:

stable 13.3
head ⚡️ HEAD

Other versions:

postgresql@12 12.7 Object-relational database system
postgresql@11 11.12 Object-relational database system
postgresql@10 10.17 Object-relational database system
postgresql@9.6 9.6.22 Object-relational database system
postgresql@9.5 9.5.25 Object-relational database system
postgresql@9.4 9.4.26 Object-relational database system

Depends on:

icu4c 69.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.19.2 Network authentication protocol
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
readline 8.1 Library for command-line editing
libxml2 2.9.12 GNOME XML library
libxslt 1.1.34 C XSLT library for GNOME
openldap 2.5.6 Open source suite of directory software
perl 5.34.0 Highly capable, feature-rich programming language
linux-pam 1.5.1 Pluggable Authentication Modules for Linux
util-linux 2.37 Collection of Linux utilities

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
autoconf@2.69 2.69 Automatic configure script builder
To migrate existing data from a previous major version of PostgreSQL run:
    brew postgresql-upgrade-database

This formula has created a default database cluster with:
    initdb --locale=C -E UTF-8 $(brew --prefix)/var/postgres
For more details, read:


Installs (30 days)
postgresql 742
Installs on Request (30 days)
postgresql 691
Build Errors (30 days)
postgresql 163
Installs (90 days)
postgresql 3,423
postgresql --HEAD 1
Installs on Request (90 days)
postgresql 3,162
postgresql --HEAD 1
Installs (365 days)
postgresql 9,419
postgresql --HEAD 1
Installs on Request (365 days)
postgresql 8,763
postgresql --HEAD 1
Fork me on GitHub