Philip Warner <pjw@rhyme.com.au> writes:
> If the patch is not kosher, then I'd vote for adding a "do not parse" flag
> on the TOC entries when dumping them. Or a statement count.
Unless you plan to abandon compatibility with existing dump files,
this doesn't seem like much of a solution ... pg_restore will still
have to include code to figure it out for itself ...
regards, tom lane