RefLib

Reference library for AI

Back

postgresql_16:4.18.1.5 Custom Server Settings

PostgreSQL 16 > Server Administration > Regression Tests > Running the Tests > Custom Server Settings

Custom server settings to use when running a regression test suite can be set in the PGOPTIONS environment variable (for settings that allow this): make check PGOPTIONS="-c debug_parallel_query=regress -c work_mem=50MB" When running against a temporary installation, custom settings can also be set by supplying a pre-written postgresql.conf: echo 'log_checkpoints = on' > test_postgresql.conf echo 'work_mem = 50MB' >> test_postgresql.conf make check EXTRA_REGRESS_OPTS="--temp-config=test_postgresql.conf"

This can be useful to enable additional logging, adjust resource limits, or enable extra run-time checks such as (see guc-debug-discard-caches).

Back