PostgreSQL

PostgreSQL

What is

PostgreSQL

?

PostgreSQL is an open source object-relational database system. It stores and queries data with an extended form of SQL and supports transactions, replication, indexing and user-defined extensions.

At a glance

Attribute

Value

Primary use case

Object-relational database for storing and querying application data

Deployment type

Self-managed; runs on all major operating systems

Pricing model

Free and open source

API compatibility

SQL (at least 170 of 177 mandatory SQL:2023 Core features as of version 18), SQL/JSON

Supported integrations

Including PostGIS, foreign data wrappers, PL/pgSQL, Perl, Python, Tcl, LDAP, OAuth 2.0

Key metrics

Vendor-reported: 725+ contributors, 61,000+ commits, 35+ years of development

AEP branch

Tooling

AEP category

Resources

AEP subcategory

Data

Profile

PostgreSQL is an object-relational database server that uses and extends the SQL language. It has been ACID-compliant since 2001 and runs on all major operating systems. New features are added in every major release.

Focus

PostgreSQL serves developers building applications and administrators who need to protect data integrity and build fault-tolerant environments.

Background

PostgreSQL is developed by the PostgreSQL Global Development Group, an open source community. Its origins date back to 1986 and the POSTGRES project at the University of California at Berkeley. It is free and open source.

Features

Relational and document data types

Covers primitives, date/time, arrays, ranges, UUID, geometry and composite or custom types, alongside JSON/JSONB, XML and key-value (Hstore). SQL/JSON constructors, path expressions and JSON TABLE let structured and document data live in one database.

Indexing and query execution

Offers index types including B-tree, GiST, SP-GiST, GIN, BRIN, covering and partial indexes, plus a query planner that uses multicolumn statistics. MVCC, table partitioning, parallel read queries, JIT compilation and asynchronous I/O handle concurrent workloads.

Replication and recovery

Write-ahead logging supports asynchronous, synchronous and logical replication, point-in-time recovery and active standbys. Teams use these to build disaster recovery.

Authentication and access control

Supports authentication methods including GSSAPI, SSPI, LDAP, SCRAM-SHA-256, certificate and OAuth 2.0, plus multi-factor authentication with certificates. Column-level and row-level security restrict who can see which data.

Extensions and foreign data wrappers

Stored functions and procedures can be written in PL/pgSQL, Perl, Python and Tcl, and other languages are available through extensions. Foreign data wrappers connect to other databases or streams through standard SQL, and extensions such as PostGIS add capabilities like geospatial data.

Full-text search and internationalisation

Built-in full-text search lets teams search text inside the database. International character sets are supported, for example through ICU collations, along with case-insensitive and accent-insensitive collations.

Pros and cons

Pros

  • Strong data integrity through primary and foreign keys, exclusion constraints and every SQL-standard isolation level, including Serializable.

  • Custom data types, functions and code in different programming languages can be added without recompiling the database.

  • According to the project, production clusters manage many terabytes of data and specialized systems manage petabytes.

  • Active community help through mailing lists, local user groups, events and training sessions.

Cons

  • The team installs, upgrades, backs up and operates the database servers itself.

  • Major versions stop receiving fixes on a set date, for example PostgreSQL 14 on November 12, 2026, which forces planned upgrades.

  • SQL standard support is incomplete: some features use slightly different syntax or function, and as of version 18, 170 of the 177 mandatory SQL:2023 Core features are met.

FAQs

What is PostgreSQL?

PostgreSQL is an open source object-relational database. It extends SQL with features for storing and scaling complex workloads, and its roots go back to the 1986 POSTGRES project at Berkeley.

How much does PostgreSQL cost?

Nothing. PostgreSQL is free and open source, so teams can use and modify it without paying license fees.

How is PostgreSQL deployed?

Teams download PostgreSQL and run it on their own servers. It works on all major operating systems, and the team is responsible for operating it.

Which programming languages can be used inside the database?

PL/pgSQL, Perl, Python and Tcl are available as procedural languages. Java, JavaScript (V8), R, Lua and Rust can be added through extensions.

How closely does PostgreSQL follow the SQL standard?

It aims to conform where doing so does not conflict with traditional features or good architecture. Version 18 meets at least 170 of the 177 mandatory SQL:2023 Core features. The project notes that no relational database fully conforms to this standard.

How long is each major version supported?

Each major version receives fixes until its end date, and several versions are maintained in parallel. PostgreSQL 14, for example, stops receiving fixes on November 12, 2026, so users should plan upgrades before then.

Table of contents

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.