etcd_fdw provides bidirectional synchronization between etcd and PostgreSQL using a single table architecture with revision status encoding.
- Single Table: All data stored in 
etcdtable with revision-based synchronization status - Revision Encoding: 
-1= pending sync to etcd,>0= synchronized from etcd - Polling Mechanism: PostgreSQL to etcd sync uses configurable polling interval
 
go install github.com/cybertec-postgresql/etcd_fdw/cmd/etcd_fdw@latest# Basic usage etcd_fdw --postgres-dsn="postgres://user:pass@localhost/db" --etcd-dsn="etcd://localhost:2379/prefix" # With custom polling interval etcd_fdw --postgres-dsn="..." --etcd-dsn="..." --polling-interval=2s