CertGrid CertGrid
Hands-on Lab·PostgreSQL

PostgreSQL Reload, Restart and pending_restart

Change `shared_buffers`, reload, and the value does not move - but `pending_restart` flips to `t`. The server is telling you it has accepted the change and is waiting for a restart to apply it.

Configuration Guide 14 of 47 Intermediate

Written against the versions above. `pending_restart` has been in `pg_settings` since 9.5. It is one of the most useful columns in the view and one of the least known.

Every command on this page ran on db-a01.
Server NameIP AddressOSRolesCPURAMHDD
db-a01192.168.0.81Ubuntu 26.04 LTSPrimary / Source / Replica Set Member 12 Core4 GB50 GB

Before you start

  1. Stage a change that a reload cannot apply

  2. Restart, and watch it apply

Official sources