summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/postgres/postgresql.conf25
1 files changed, 25 insertions, 0 deletions
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