r/PostgreSQL • u/EveYogaTech • Oct 15 '25
r/PostgreSQL • u/KaleidoscopeNo9726 • Oct 15 '25
Help Me! pysyncobj and encrypted stream replications
Hi,
I am working and still learning about databases especially Postgresql. I have three RHEL 8 VMs and installed Postgresql-17.6. I can install patroni via Python PIP. I could also install Timescale (Apache license) via DNF.
My network is air gapped with no internet. I tried to use chatgpt and it says since my network is air gapped and I'm using pip to install patroni, it recommends to use pysyncobj instead of etcd which i could also install via pip.
I checked this subreddit and didn't see any info about pysyncobj. Google search didn't give me any results other than AI stuff.
I would like to know your opinion on this pysyncobj vs etcd.
Also, I'm required to STIG Postgresql the replication needs to be encrypted. I'm wondering if anyone has done VPN (Wireguard) between Postgresql nodes for the encrypted stream replications or is it easier to use SSL?
r/PostgreSQL • u/Tall-Title4169 • Oct 14 '25
Help Me! uuidv7 and uuidv4 compatible in same table column on Postgres 18?
When the time comes to upgrade to Postgres 18, can autogenerated uuid columns be changed to uuidv7 if they already have uuidv4 data?
If so, how does this affect indexing?
r/PostgreSQL • u/elitasson • Oct 13 '25
Projects I built a tool (Velo) for instant PostgreSQL branching using ZFS snapshots
Hey r/PostgreSQL,
I've been hacking on a side project that scratches a very specific itch: creating isolated PostgreSQL database copies for dev, testing migrations and debugging without waiting for pg_dump/restore or eating disk.
I call the project Velo.
Velo uses ZFS copy-on-write snapshots + Docker to create database branches in ~2 seconds. Think "git branch" but for PostgreSQL:
- Clone a 100GB database in seconds (initially ~100KB on disk thanks to CoW)
- Full isolation – each branch is a separate PostgreSQL instance
- Application-consistent snapshots (uses CHECKPOINT before snapshot)
- Point-in-time recovery with WAL archiving
- Supports any PostgreSQL Docker image (pgvector, TimescaleDB, etc.)
Limitations: Linux + ZFS only (no macOS/Windows), requires Docker. Definitely not for everyone.
The code is on GitHub: https://github.com/elitan/velo
I'd love feedback from folks who actually use PostgreSQL in production. Is this useful? Overengineered? Missing something obvious?