Skip to main content

Postgres Datastore

@webframp/postgres-datastorev2026.05.20.1· 1d agoDATASTORES
01README

Stores swamp runtime data in PostgreSQL with row-based distributed locking. Compatible with AWS RDS, Aurora, and Aurora Serverless v2. Uses fencing tokens for split-brain safety across failover events.

02Datastores1
PostgreSQL Datastoreconfigurable
@webframp/postgres-datastorepostgres_datastore/mod.ts

Stores swamp runtime data in PostgreSQL with row-based distributed locking. Compatible with AWS RDS, Aurora, and Aurora Serverless v2.

Config Fields

FieldTypeDescription
connectionStringstringPostgreSQL connection URI (supports RDS, Aurora, Aurora Serverless v2)
schemastringPostgreSQL schema for swamp tables
sslenumSSL mode: disable (no TLS), require (TLS without CA verify), verify-ca (TLS with CA bundle)
sslCaPath?stringPath to CA certificate bundle (e.g., RDS global-bundle.pem). Required when ssl=verify-ca.
03Previous Versions2
2026.05.05.1May 6, 2026
2026.05.04.1May 5, 2026
04Stats
A
100 / 100
Downloads
4
Archive size
32.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels