forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit78c8c81
committed
Refactor libpqwalreceiver
The whole walreceiver API is now wrapped into a struct, like most of ourother loadable module APIs. The libpq connection is no longer a globalvariable in libpqwalreceiver. Instead, it is encapsulated into a structthat is passed around the functions. This allows multiple walreceiversto run at the same time.Add some rudimentary support for logical replication connections tolibpqwalreceiver.These changes are mostly cosmetic and are going to be useful for thefuture logical replication patches.From: Petr Jelinek <petr@2ndquadrant.com>1 parent597a87c commit78c8c81
File tree
3 files changed
+235
-173
lines changed- src
- backend/replication
- libpqwalreceiver
- include/replication
3 files changed
+235
-173
lines changed0 commit comments
Comments
(0)