postgresql

Install command:
brew install postgresql

Also known as: postgres, postgresql@13

Object-relational database system

https://www.postgresql.org/

License: PostgreSQL

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

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

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon 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

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
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:
    https://www.postgresql.org/docs/13/app-initdb.html

Analytics:

Installs (30 days)
postgresql 74,620
postgresql --HEAD 3
Installs on Request (30 days)
postgresql 70,511
postgresql --HEAD 3
Build Errors (30 days)
postgresql 57
Installs (90 days)
postgresql 275,352
postgresql --HEAD 17
Installs on Request (90 days)
postgresql 260,075
postgresql --HEAD 17
Installs (365 days)
postgresql 1,967,786
postgresql --HEAD 65
PostgreSQL 5
postgresql --without-tcl 4
Installs on Request (365 days)
postgresql 1,892,053
postgresql --HEAD 64
PostgreSQL 3
Fork me on GitHub