Christophe Pettus <xof(at)thebuild(dot)com> writes:
> This is a relatively unusual situation. You can automate removal of the \restrict using sed or equivalent if you need a hands-free solution.
You can also simply ignore these error messages, though I grant that
feels dangerous. There have been many cases in the past where
cross-version dump restoration would result in harmless error messages.
regards, tom lane