SQLite extension to replicate data from PostgreSQL

Installation

Download postgresql extension from the releases page. Here’s a great article that explains how to install the SQLite extension.

Compiling from source

  • Go 1.24+ and CGO_ENABLED=1 is required.
go build -ldflags="-s -w" -buildmode=c-shared -o postgresql.so
  • Use .so extension for Linux, .dylib for MacOS and .dll for Windows

Basic usage

Prepare PostgreSQL

1. Modify postgresql.conf:

  • Set wal_level = logical.
  • Adjust max_replication_slots and max_wal_senders according to the number of subscribers and replication slots needed.

2. Modify pg_hba.co…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help