PostgreSQL /etc/postgresql/17/main/start.conf

Original ๐Ÿ“‹ Ubuntu 24.04 LTS (Noble Numbat) 8 lines

Works On

Viewing:
Ubuntu 24.04 LTS (Noble Numbat)
Same on:
Debian 11 (Bullseye) Debian 12 (Bookworm) Debian 13 (Trixie) Ubuntu 20.04 LTS (Focal Fossa) Ubuntu 22.04 LTS (Jammy Jellyfish)
Other versions:

Details

Size
8 lines
MD5
9bb73ac29fd5f433229675e12d493acf
SHA256
e83be42666e695b4e43c65fee5967e8f30e814ca49e473fad9ccf86a42b4f30a

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/9bb73ac29fd5f433229675e12d493acf?hint=start.conf
wget:
wget -O start.conf https://exampleconfig.com/api/v1/config/original/9bb73ac29fd5f433229675e12d493acf?hint=start.conf

For AI Agents

You are a DevOps agent. Fetch the default PostgreSQL config for Ubuntu 24.04 LTS (Noble Numbat) from https://exampleconfig.com/api/v1/config/original/9bb73ac29fd5f433229675e12d493acf?hint=start.conf. Compare with my current /etc/postgresql/17/main/start.conf and summarize differences and safe changes.

Copy this prompt into Claude, ChatGPT, or other AI assistants.

/etc/postgresql/17/main/start.conf
# Automatic startup configuration
#   auto: automatically start the cluster
#   manual: manual startup with pg_ctlcluster/postgresql@.service only
#   disabled: refuse to start cluster
# See pg_createcluster(1) for details. When running from systemd,
# invoke 'systemctl daemon-reload' after editing this file.

auto

Install PostgreSQL

Alpine Linux

sudo apk add postgresql

Debian

sudo apt update && sudo apt install postgresql

Red Hat Enterprise Linux

sudo yum install postgresql17-server

Ubuntu

sudo apt update && sudo apt install postgresql

File Location

File Path
/etc/postgresql/17/main/start.conf
Directory
/etc/postgresql/17/main/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this start.conf?

Restore it. Compare it. Start clean.

How do I restore PostgreSQL defaults?

Download, replace, restart.

Is start.conf safe for production?

Yes. This is exactly what shipped. Safe starting point.

How does this differ from other OS versions?

Defaults change. This one is specific to Ubuntu 24.04 LTS (Noble Numbat).

Can I use this for PostgreSQL troubleshooting?

Absolutely. Diff this against yours to spot the problem.