Konstantin Knizhnik
06f96f9600
Do not transfer WAL to computation nodes: use pg_resetwal for node startup
2021-05-20 14:13:47 +03:00
Konstantin Knizhnik
2f2dff4c8d
Merge with main brnach
2021-05-12 10:46:01 +03:00
Konstantin Knizhnik
22e7fcbf2d
Handle visbility map updates in WAL redo
2021-05-12 10:38:43 +03:00
Heikki Linnakangas
61af9bb889
Move a few functions that have been copy-pasted around to shared module.
2021-05-06 21:57:10 +03:00
anastasia
b49164a1d4
cargo fmt
2021-04-29 18:41:42 +03:00
anastasia
e7b112aacc
Refactor pg_constants. Move them to postgres_ffi/
2021-04-29 18:41:42 +03:00
Heikki Linnakangas
8af5cbedb1
Move xlog_utils.rs to postgres_ffi module.
...
I had copy-pasted these functions to a few other places. Clean that up,
move them to a common module, and add some comments.
2021-04-22 13:22:34 +03:00
Eric Seppanen
1f3f4cfaf5
clippy cleanup #2
...
- remove needless return
- remove needless format!
- remove a few more needless clone()
- from_str_radix(_, 10) -> .parse()
- remove needless reference
- remove needless `mut`
Also manually replaced a match statement with map_err() because after
clippy was done with it, there was almost nothing left in the match
expression.
2021-04-21 17:56:58 -07:00
Eric Seppanen
92e4f4b3b6
cargo fmt
2021-04-20 17:59:56 -07:00
Heikki Linnakangas
b451ede199
Use rust bindgen for reading/writing the PostgreSQL control file.
2021-04-20 15:57:05 +03:00