timescaledb/tsl/test/postgresql.conf.in
Dmitry Simonenko bcb8352be2 Unset libpq environment variables
By default libpq uses environment variables as a fallback way
to specify connection options, potentially they could be in
a conflict with internal implementation and introduce
security risks.

Introduce new option `timescaledb.passfile` which specifies
the name of the file used to store passwords used for a data node
connection. It is intended to be used instead of PGPASSFILE
variable, which is no longer accessible.
2020-05-27 17:31:09 +02:00

28 lines
1.2 KiB
Plaintext

# This section has to be equivalent to test/postgresql.conf
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] '
# This section adds additional options required by TSL
# Note any changes here require updates to appveyor.yml
timescaledb.license_key='E1eyJlbmRfdGltZSI6IjIwMTgtMTAtMDEgKzAwMDAiLCAic3RhcnRfdGltZSI6IjIwMTgtMDktMDEgKzAwMDAiLCAiaWQiOiI0OTBGQjI2MC1BMjkyLTRBRDktOUFBMi0wMzYwODM1NzkxQjgiLCAia2luZCI6InRyaWFsIn0K'
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
max_prepared_transactions=100 #set same as max_connections
hba_file='@TEST_PG_HBA_FILE@'
ssl=on
ssl_ca_file='@TEST_OUTPUT_DIR@/ts_root.crt'
ssl_cert_file='@TEST_OUTPUT_DIR@/ts_data_node.crt'
ssl_key_file='@TEST_OUTPUT_DIR@/ts_data_node.key'
timescaledb.ssl_dir='@TEST_OUTPUT_DIR@'
timescaledb.passfile='@TEST_PASSFILE@'