diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-31 16:09:12 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-31 16:09:12 -0600 |
| commit | 311603d0c0b04d451e9fb8e5e8335dca8425e2c4 (patch) | |
| tree | f38db8e10c4b55aef21c96c30fc71278c6e3d5c6 /etc/postgres | |
| parent | ebb003ef2beaeee61104d6b88a342c5c9fa73b51 (diff) | |
Connect to postgresql
Diffstat (limited to 'etc/postgres')
| -rw-r--r-- | etc/postgres/postgresql.conf | 25 |
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 |
