Postgresql restart required

Check whether is restart required for postgresql db after config change
SELECT * FROM pg_settings WHERE pending_restart = true;