On 2020-10-13 00:43, David G. Johnston wrote:
Over in Bug# 16652 [1] Christoph failed to recognize the fact that signal sending functions are inherently one-way just as signals are. It seems worth heading off this situation in the future by making it clear how signals behave and, in the specific case of pg_reload_conf, that the important feedback one would hope to get out of a success/failure response from the function call must instead be found in other locations.
I agree that the documentation could be improved here. But I don't see how the added advice actually helps in practice. How can you detect reload errors by inspecting pg_settings etc.?
-- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services