code cleanup after review

This commit is contained in:
Anastasia Lubennikova
2022-09-14 18:37:33 +03:00
parent a1ce155264
commit e2dec100ff
2 changed files with 0 additions and 8 deletions

View File

@@ -267,8 +267,6 @@ where
None
};
// TODO pass this as a parameter
if spcnode == GLOBALTABLESPACE_OID {
let pg_version_str = self.timeline.pg_version.to_string();
let header = new_tar_header("PG_VERSION", pg_version_str.len() as u64)?;
@@ -276,9 +274,6 @@ where
info!("timeline.pg_version {}", self.timeline.pg_version);
let header = new_tar_header("global/PG_VERSION", pg_version_str.len() as u64)?;
self.ar.append(&header, pg_version_str.as_bytes())?;
if let Some(img) = relmap_img {
// filenode map for global tablespace
let header = new_tar_header("global/pg_filenode.map", img.len() as u64)?;

View File

@@ -1128,9 +1128,6 @@ static ZERO_PAGE: Bytes = Bytes::from_static(&[0u8; BLCKSZ as usize]);
//
// Checkpoint:
// 03 00000000 00000000 00000000 00 00000001
//
// PG_VERSION:
// 03 00000000 00000000 00000000 00 00000002
//-- Section 01: relation data and metadata
const DBDIR_KEY: Key = Key {