mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-22 23:50:39 +00:00
- Split postgres_ffi into two version specific files. - Preserve pg_version in timeline metadata. - Use pg_version in safekeeper code. Check for postgres major version mismatch. - Clean up the code to use DEFAULT_PG_VERSION constant everywhere, instead of hardcoding. - Parameterize python tests: use DEFAULT_PG_VERSION env and pg_version fixture. To run tests using a specific PostgreSQL version, pass the DEFAULT_PG_VERSION environment variable: 'DEFAULT_PG_VERSION='15' ./scripts/pytest test_runner/regress' Currently don't all tests pass, because rust code relies on the default version of PostgreSQL in a few places.
11 lines
509 B
Rust
11 lines
509 B
Rust
pub const XACT_XINFO_HAS_DROPPED_STATS: u32 = 1u32 << 8;
|
|
|
|
pub const XLOG_DBASE_CREATE_FILE_COPY: u8 = 0x00;
|
|
pub const XLOG_DBASE_CREATE_WAL_LOG: u8 = 0x00;
|
|
pub const XLOG_DBASE_DROP: u8 = 0x20;
|
|
|
|
pub const BKPIMAGE_APPLY: u8 = 0x02; /* page image should be restored during replay */
|
|
pub const BKPIMAGE_COMPRESS_PGLZ: u8 = 0x04; /* page image is compressed */
|
|
pub const BKPIMAGE_COMPRESS_LZ4: u8 = 0x08; /* page image is compressed */
|
|
pub const BKPIMAGE_COMPRESS_ZSTD: u8 = 0x10; /* page image is compressed */
|