Thomas Munro <thomas.munro@gmail.com> writes:
> Here's what I came up with for pg_upgrade. It tests each database's
> encodings with PG_VALID_BE_ENCODING(), and looks like this when it
> fails:
> ...
> I'll wait a bit longer for this one, on the off chance of reviews at
> this late hour.
Passes a quick eyeball check, anyway.
regards, tom lane