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.
This commit is contained in:
Heikki Linnakangas
2021-04-22 13:22:34 +03:00
parent bab954b87f
commit 8af5cbedb1
11 changed files with 25 additions and 112 deletions

View File

@@ -16,7 +16,7 @@ use anyhow::Result;
use serde_derive::{Deserialize, Serialize};
use pageserver::ZTimelineId;
use walkeeper::xlog_utils;
use postgres_ffi::xlog_utils;
//
// This data structure represents deserialized zenith config, which should be