Skip to content

Instantly share code, notes, and snippets.

@Ujang360
Last active January 19, 2025 10:04
Show Gist options
  • Save Ujang360/0da5acacf272cca71ac659e73ec4593d to your computer and use it in GitHub Desktop.
Save Ujang360/0da5acacf272cca71ac659e73ec4593d to your computer and use it in GitHub Desktop.
PG Odyssey - Development Config
pid_file "/tmp/odyssey.pid"
daemonize yes
unix_socket_dir "/tmp"
unix_socket_mode "0644"
log_format "%p %t %l [%i %s] (%c) %m\n"
log_syslog yes
log_syslog_ident "odyssey"
log_syslog_facility "daemon"
log_debug no
log_config yes
log_session no
log_query no
log_stats yes
stats_interval 60
workers "auto"
resolvers 1
readahead 8192
cache_coroutine 0
coroutine_stack_size 16
nodelay yes
keepalive 15
keepalive_keep_interval 75
keepalive_probes 9
keepalive_usr_timeout 0
listen {
host "*"
port 6432
backlog 128
compression no
tls "disable"
}
storage "postgres-local" {
type "remote"
host "localhost"
port 5432
}
database default {
user default {
authentication "md5"
password "md53175bce1d3201d16594cebf9d7eb3f9d"
storage "postgres-local"
pool "session"
pool_size 2
storage_password "postgres"
pool_timeout 0
pool_discard no
pool_cancel yes
pool_rollback yes
pool_client_idle_timeout 60
pool_idle_in_transaction_timeout 60
client_fwd_error yes
application_name_add_host yes
log_debug no
client_max 16
}
}
locks_dir "/tmp/odyssey"
graceful_die_on_errors yes
enable_online_restart no
bindwith_reuseport yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment