-- ----------------------------------------------------------------------
|
-- QDB-1513 P4-2: the read scratch arena GUC. The server-level behaviour
|
-- (offload vs inline, bit-identity, truncation) needs a custom cluster
|
-- configuration and lives in t/007_cfs_read_scratch.pl; this file pins
|
-- the pg_settings contract of the parameter itself, which holds for any
|
-- io_method.
|
-- ----------------------------------------------------------------------
|
SELECT name, setting, unit, context, vartype, source
|
FROM pg_settings WHERE name = 'cfs_read_scratch_mb';
|
|
SELECT short_desc LIKE '%read scratch arena%' AS documented
|
FROM pg_settings WHERE name = 'cfs_read_scratch_mb';
|
|
-- The bounds must match the postgresql.conf.sample line and the arena
|
-- sizing: 0 disables, the maximum caps the budget like cfs_map_memory.
|
SELECT min_val = '0' AND max_val = '1048576' AS bounds
|
FROM pg_settings WHERE name = 'cfs_read_scratch_mb';
|