electric-sql / electric

Sync little subsets of your Postgres data into local apps and services.
https://electric-sql.com
Apache License 2.0
6.48k stars 156 forks source link

chore(sync-service): Move queries that query Postgres for a bunch of info into ReplicationClient's connection setup phase #1845

Closed alco closed 1 month ago

alco commented 1 month ago

PR chain: #1842 ← #1841 ← #​1845 ← #1846 ← #1862

Basically, cleaning up ad-hoc queries by performing them in the dedicated connection setup phase, prior to switching the replication connection into logical message streaming mode.

alco commented 1 month ago

Merged into main manually as a chain of commits, one per PR. https://github.com/electric-sql/electric/pull/1867