Implement autoprewarming in Neon uig pg_prewarm extension

This commit is contained in:
Konstantin Knizhnik
2022-11-02 10:33:12 +02:00
parent 144dd97025
commit 441dc1be2f
10 changed files with 114 additions and 10 deletions

View File

@@ -232,3 +232,6 @@ pub const PGDATA_SPECIAL_FILES: [&str; 3] =
["pg_hba.conf", "pg_ident.conf", "postgresql.auto.conf"];
pub static PG_HBA: &str = include_str!("../samples/pg_hba.conf");
pub static AUTOPREWARM_FILE_NAME: &str = "autoprewarm.blocks";
pub const SMGR_FCNTL_CACHE_SNAPSHOT: u32 = 1;