mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-22 07:30:37 +00:00
Add test for a relation that's larger than 1 GB.
This isn't very exciting with the current RocksDB implementation, because it doesn't care about the PostgreSQL 1 GB segment boundaries at all. But I think we will care about this in the future, and more tests is generally better anyway.
This commit is contained in:
@@ -136,8 +136,10 @@ pub const XLOG_TBLSPC_DROP: u8 = 0x10;
|
||||
|
||||
pub const SIZEOF_XLOGRECORD: u32 = 24;
|
||||
|
||||
// FIXME:
|
||||
// from pg_config.h. These can be changed with configure options --with-blocksize=BLOCKSIZE and
|
||||
// --with-segsize=SEGSIZE, but assume the defaults for now.
|
||||
pub const BLCKSZ: u16 = 8192;
|
||||
pub const RELSEG_SIZE: u32 = 1024 * 1024 * 1024 / (BLCKSZ as u32);
|
||||
|
||||
//
|
||||
// from xlogrecord.h
|
||||
|
||||
Reference in New Issue
Block a user