blob: 5594b72c16a97160d698eafa9ed29a1ed51d8cca [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# This contains the postgres config settings provided to the startup command
# as "postgres -c config_file=<this file>".
#
# See https://github.com/postgres/postgres/blob/master/src/backend/utils/misc/postgresql.conf.sample
# for more config options.
# Required standard settings normally specified in default config
listen_addresses = '*'
max_connections = 100
shared_buffers = 128MB
dynamic_shared_memory_type = posix
max_wal_size = 1GB
min_wal_size = 80MB
log_timezone = 'Etc/UTC'
datestyle = 'iso, mdy'
timezone = 'Etc/UTC'
# Custom settings below
# NOTE: It's best practice to explicitly set the isolation level from the
# application layer where possible, but in some cases this requires careful
# configuration to inject settings into JPA frameworks. This is provided here
# for defense-in-depth and for illustrative purposes if database customization
# is desired.
default_transaction_isolation = 'serializable'