# This section has to be equivalent to test/postgresql.conf

jit=off
autovacuum=true
datestyle='Postgres, MDY'
log_destination='jsonlog,stderr'
log_directory='@TEST_PG_LOG_DIRECTORY@'
log_filename='postmaster.log'
log_line_prefix='%m: %u [%p] %d '
logging_collector=true
max_worker_processes=24
random_page_cost=1.0
shared_preload_libraries=timescaledb
timescaledb.last_tuned='1971-02-03 04:05:06.789012 -0300'
timescaledb.last_tuned_version='0.0.1'
timescaledb.passfile='@TEST_PASSFILE@'
timescaledb_telemetry.cloud='ci'
timezone='US/Pacific'

# Set extra_float_digits=0 to retain the pre PG12 rounding behaviour
# of floating point numbers, which are needed to make our tests work.
extra_float_digits=0

@TELEMETRY_DEFAULT_SETTING@

# This section adds additional options required by TSL.
timescaledb.license='timescale'
max_connections=200
log_error_verbosity='VERBOSE'
log_min_messages='INFO'
# This breaks isolation tests, not sure why the statements end in
# the isolation tester output.
log_statement='all'

# Some tests use logical entries in WAL
wal_level = logical

# It is necessary to have at least 2 more workers than `max_worker_processes`
# in order to test failures starting bgworkers.
timescaledb.max_background_workers=26
timescaledb.enable_compression_ratio_warnings=false
