Greg Sabino Mullane <greg@turnstep.com> writes:
> Subject line kind of says it all: LANGUAGE replacement was
> introduced in 9.0, but pg_dump is trying it on all versions.
So? pg_dump output is never promised to load into older server
versions.
The proposed patch is quite wrong anyway, because it is looking at
the source server version, not the (unknowable) target version.
regards, tom lane