Konstantin Knizhnik
3645133700
Fix conflicts with main branch
2021-05-20 14:39:27 +03:00
Eric Seppanen
9fe3b73e13
walkeeper replication: remove the lock from the send stream.
...
I originally thought there would be multiple threads sending here, but
that's not currently the case, so remove the lock.
2021-05-19 14:36:41 -07:00
Eric Seppanen
8f43d7637c
wal_service: move code around some more
...
Move ReceiveWalConn into its own file. Shuffle constants around so they
are close to the protocol they're associated with, or move them into
postgres_ffi if they seem to be global constants.
2021-05-19 14:36:41 -07:00
Eric Seppanen
78dcf2207e
replace manual deserialization with serde + BeSer
...
This struct is a little awkward, because in other places it is
serialized/deserialized as little-endian, but here it's big-endian.
2021-05-19 14:36:41 -07:00
Eric Seppanen
74b78608d9
split timeline code into a separate file
2021-05-19 14:36:41 -07:00
Eric Seppanen
a11558b84f
break wal_service into multiple files
...
+ misc cleanups
2021-05-19 14:36:41 -07:00