From 311603d0c0b04d451e9fb8e5e8335dca8425e2c4 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 31 Jul 2025 16:09:12 -0600 Subject: Connect to postgresql --- etc/postgres/postgresql.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 etc/postgres/postgresql.conf (limited to 'etc') diff --git a/etc/postgres/postgresql.conf b/etc/postgres/postgresql.conf new file mode 100644 index 0000000..4d7f703 --- /dev/null +++ b/etc/postgres/postgresql.conf @@ -0,0 +1,25 @@ +# Connection settings +listen_addresses = '' +unix_socket_directories = '/tmp' + +# Logging settings +logging_collector = off +log_destination = 'stderr' +log_statement = 'ddl' +log_line_prefix = '' +log_min_duration_statement = 1000 +log_checkpoints = on + +# Performance and Development +shared_preload_libraries = '' # No additional libraries needed +max_connections = 100 # Default connection limit +shared_buffers = 128MB # Default buffer size + +# Development-friendly settings +fsync = off # Faster writes (safe for development only) +synchronous_commit = off # Faster commits (safe for development only) +full_page_writes = off # Reduce I/O (safe for development only) + +# Timezone +timezone = 'UTC' # Use UTC for consistency +log_timezone = 'UTC' # Log timestamps in UTC -- cgit v1.2.3