PostgreSQL modules

Implementation pages for widely deployed PostgreSQL extensions that add geospatial data, vector search and audit logging to a self-hosted database.

PostGIS implementation on self-hosted PostgreSQL

Adding PostGIS for geospatial data: installing and versioning the extension alongside PostgreSQL, spatial indexing, GPL licensing considerations, and keeping PostGIS in step during major PostgreSQL upgrades.

pgvector for vector search in PostgreSQL

Running vector similarity search inside PostgreSQL with pgvector: choosing HNSW or IVFFlat indexes, distance functions, memory and build-time trade-offs, and when a dedicated vector database is the better fit.

pgAudit audit logging for PostgreSQL

Configuring pgAudit session and object audit logging: which statement classes to log, matching the extension version to the PostgreSQL major, shipping logs to a SIEM and controlling log volume.

Citus for distributed PostgreSQL and sharding

Scaling PostgreSQL past one server with the Citus extension: coordinator and worker nodes, distributed and reference tables, schema-based sharding for multi-tenant SaaS, columnar storage, AGPL licensing and when Citus is the wrong fit.

TimescaleDB for time-series data on self-hosted PostgreSQL

Running TimescaleDB hypertables and the columnstore on your own PostgreSQL: the Apache 2 edition versus the Community Edition under the Tiger Data License, what the license lets you do, and keeping the extension in step with PostgreSQL upgrades.

pg_partman for automated partition management

Automating time-based and number-based partition creation and retention with pg_partman on top of native declarative partitioning: the background worker, retention settings, and the upgrade notes for pg_partman 5.

pg_cron for scheduled jobs inside PostgreSQL

Scheduling maintenance, partition rotation and refresh jobs inside the database with pg_cron: cron syntax, the background worker and cron.job table, running jobs in other databases, monitoring job runs and when an external scheduler is better.

oracle_fdw for querying Oracle from PostgreSQL

Reading and writing Oracle tables from PostgreSQL through the oracle_fdw foreign data wrapper: Oracle client requirements, foreign servers and user mappings, using it to move data during a phased migration, and its limits.

Apache AGE graph database extension for PostgreSQL

Running graph queries next to relational data with Apache AGE: openCypher queries inside PostgreSQL, when it replaces a separate graph database, version pairing with PostgreSQL and operational caveats.

PostgreSQL Anonymizer for data masking

Masking personal data with PostgreSQL Anonymizer: declaring masking rules in DDL, static versus dynamic masking, anonymous dumps for test environments, and how it supports GDPR data minimization.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.