postgresql

Install command:
brew install postgresql

Also known as: postgres, postgresql@14

Object-relational database system

https://www.postgresql.org/

License: PostgreSQL

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

Bottle JSON API: /api/bottle/postgresql.json

Formula code: postgresql.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 14.3
head ⚡️ HEAD

Other versions:

postgresql@13 13.7 Object-relational database system
postgresql@12 12.11 Object-relational database system
postgresql@11 11.16 Object-relational database system
postgresql@10 10.21 Object-relational database system
postgresql@9.6 9.6.24 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 70.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.19.3 Network authentication protocol
openssl@1.1 1.1.1o Cryptography and SSL/TLS Toolkit
readline 8.1.2 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/14/app-initdb.html

Analytics (macOS):

Installs (30 days)
postgresql 133,841
postgresql --HEAD 11
Installs on Request (30 days)
postgresql 129,499
postgresql --HEAD 11
Build Errors (30 days)
postgresql 38
Installs (90 days)
postgresql 416,639
postgresql --HEAD 22
Installs on Request (90 days)
postgresql 403,623
postgresql --HEAD 22
Installs (365 days)
postgresql 1,448,715
postgresql --HEAD 87
Installs on Request (365 days)
postgresql 1,392,765
postgresql --HEAD 87

Analytics (Linux):

Installs (30 days)
postgresql 858
Installs on Request (30 days)
postgresql 814
Build Errors (30 days)
postgresql 4
Installs (90 days)
postgresql 2,504
Installs on Request (90 days)
postgresql 2,318
Installs (365 days)
postgresql 10,497
postgresql --HEAD 1
Installs on Request (365 days)
postgresql 9,791
postgresql --HEAD 1
Fork me on GitHub