# SIMPLIFIED POSTGRESQL CONFIGURATION
# ==============================================================================

# Connection Settings
listen_addresses = '*'
port = 5432
max_connections = 100

# Memory Settings
shared_buffers = 128MB
effective_cache_size = 512MB
work_mem = 4MB
maintenance_work_mem = 64MB

# Write Ahead Logging (WAL)
wal_level = replica
max_wal_senders = 3
wal_keep_size = 256MB

# Basic Logging
log_min_duration_statement = 1000
log_connections = on
log_disconnections = on

# Autovacuum
autovacuum = on

# Security
ssl = off
password_encryption = scram-sha-256

# Locale and Formatting
datestyle = 'iso, mdy'
timezone = 'UTC'
lc_messages = 'en_US.utf8'
lc_monetary = 'en_US.utf8'
lc_numeric = 'en_US.utf8'
lc_time = 'en_US.utf8'
default_text_search_config = 'pg_catalog.english'