On 15th of May, Peter Eisentraut committed patch: Add pg_settings.pending_restart column with input from David G. Johnston, Robert Haas, Michael Paquier

Recently I saw this discussion on LinkedIn. In there a guy asks whether modifying script while it's executing will change the way it executes.