Michael Paquier <mich...@paquier.xyz> writes: > Hmm. Isn't that something that we should also document in startup.c > where both routines are defined? If we begin to use > PreRestoreCommand() and PostRestoreCommand() in more code paths in the > future, that could be again an issue.
I was vaguely wondering about removing both of those functions in favor of an integrated function that does a system() call with those things before and after it. regards, tom lane