Skip to content

Operations

Install, build, secure, upgrade, back up and recover pgredis.

A pgredis deployment runs as two components alongside PostgreSQL 18: the pg_redis C extension inside the database server and the stateless pgredis Go gateway on the Redis wire port. Because all persistent state lives in PostgreSQL tables and write-ahead logs, day-two operations use standard PostgreSQL tooling for roles, upgrades, backups, and crash recovery.

Guides

  • Install

    Install pgredis and pg_redis from a Linux development archive, enable the extension, and verify the deployment.
  • Build from source

    Required compilers, headers, Makefile targets, and test suites for building pgredis and pg_redis from source.
  • Authentication and permissions

    Configure native PostgreSQL role authentication, Redis ACL mode, SQL capability grants, and TLS listeners.
  • Upgrade and recovery

    Run ALTER EXTENSION pg_redis UPDATE, configure the background maintenance worker, and back up or restore data.

Install the gateway and extension from a package, and what to check afterwards.