Other meanings of PostgreSQL
DATABASE SOFTWARE
PostgreSQL is an open-source object–relational database management system used to store, query, and maintain structured data. It combines standard SQL with transactions, extensible data types, procedural languages, geographic extensions, and features suited to both small applications and large production systems.
PostgreSQL is an open-source object–relational database management system descended from the POSTGRES research project at the University of California, Berkeley. The project began under the direction of computer scientist Michael Stonebraker in the 1980s, extending relational database ideas with user-defined types, rules, and procedures. The name PostgreSQL reflects the project’s later emphasis on SQL compatibility; the software was known as Postgres95 before adopting its current name in 1996.1
Its core role is durable data management: it accepts concurrent reads and writes, enforces constraints, executes queries, and recovers from failures. The project is developed by a global community under a permissive PostgreSQL License, rather than by a single commercial vendor.3 That governance model allows commercial products and hosted services to incorporate the database while preserving broad freedoms to use, modify, and redistribute it.
PostgreSQL’s central strengths are transactional consistency, extensibility, and a mature SQL implementation. It supports atomic transactions, foreign keys, views, common table expressions, window functions, triggers, indexes, and multiple isolation levels; its concurrency model uses multiversion concurrency control, or MVCC, so readers can often proceed without blocking writers.2
The database can represent ordinary relational columns as well as arrays, ranges, enumerated types, full-text-search data, and JSONB documents. Extensions can add types, operators, functions, index methods, and foreign-data wrappers. Procedural languages such as PL/pgSQL allow logic to run inside the database, while client applications can connect through drivers for major programming languages. This combination makes PostgreSQL useful for transactional applications, analytical workloads, geospatial systems, and mixed relational-document designs.
Reliable PostgreSQL operation depends on configuration, backups, monitoring, indexing, and careful schema design. Administrators commonly use pg_dump for logical backups, physical backup methods for larger installations, and streaming replication to maintain standby servers; logical replication can selectively publish and subscribe to table changes.2
The ecosystem includes graphical tools, migration frameworks, connection pools, hosted services, and specialized extensions. PostGIS adds geographic objects and spatial analysis, making PostgreSQL a foundation for mapping and location-aware applications. Foreign-data wrappers can expose selected data from other databases or services through a PostgreSQL interface. High availability is not a single built-in switch: deployments typically combine replication, failover tooling, backups, and operational procedures appropriate to their failure requirements.
PostgreSQL’s extensibility is a historical feature, not merely a modern add-on. The original POSTGRES work challenged the assumption that a database should support only a fixed set of built-in types and operations; that lineage remains visible in user-defined types, operator classes, and index access methods.
Several details matter in advanced use. JSONB is stored in a binary representation optimized for processing rather than preserving the original document’s whitespace or key order. GiST and SP-GiST are generalized indexing frameworks that support specialized structures beyond ordinary B-tree indexes. Full-text search can use dictionaries and linguistic configurations, while row-level security can restrict records according to the requesting role. Extensions are powerful but create versioning and security responsibilities: administrators must review their provenance, privileges, upgrade path, and interaction with backups. PostgreSQL’s permissive license also permits proprietary extensions and managed services without requiring the entire surrounding application to become open source.3
PostgreSQL, Postgres, and the PostgreSQL logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada; usage and redistribution are governed by the project’s license and trademark policies.
Help improve the encyclopedia. Reports go straight to the site manager.