Charlie Hornsby <charlie(dot)hornsby(at)hotmail(dot)co(dot)uk> writes:
> I tested the above patch with the invalid data locally and it avoids
> the restore error that we ran into previously. Also it requires no
> intervention to progress with pg_upgrade unlike my initial idea of
> adding an check, so it is definitely simpler from a user perspective.
Thanks for testing! I've pushed this, so it will be in the May
minor releases.
regards, tom lane