timescaledb/test/postgresql.conf
Erik Nordström 313507c9c9 Set backwards compatible float rounding for tests
PostgreSQL 12 changed how rounding of floating point values are
displayed by default. This caused different output for PostgreSQL 12
in some tests. Setting `extra_float_digits=0` in our test
configuration adopts the old behavior for all PostgreSQL versions,
thus fixing the test output issues.
2020-04-14 23:12:15 +02:00

18 lines
719 B
Plaintext

# NOTE: any changes here require changes to two other places
# 1) tsl/test/postgresql.conf requires that it's prefix be the same as this file.
# 2) appveyor.yml needs to be updated with the same options
shared_preload_libraries=timescaledb
max_worker_processes=16
autovacuum=false
random_page_cost=1.0
timescaledb.telemetry_level=off
timescaledb.last_tuned='1971-02-03 04:05:06.789012 -0300'
timescaledb.last_tuned_version='0.0.1'
timescaledb_telemetry.cloud='ci'
log_line_prefix='%u [%p] %d '
# PG12 changed the default rounding behavior of floating point
# numbers. Setting extra_float_digits=0 retains the old behavior which
# is needed to make our tests work for multiple PostgreSQL versions.
extra_float_digits=0