Re-add unnecessary version checks to pg_dump, to reduce diff vs. upstream.
Re-add unnecessary version checks to pg_dump, to reduce diff vs. upstream.

GPDB's pg_dump only supports dumping from server versions based on
PostgreSQL 8.2 and above, while PostgreSQL's pg_dump supports much older
versions. In GPDB's version, many of the version checks to deal with
older versions had been removed, but that caused a lot of diffs against
upstream, because of changed indentation.

To reduce our diff footprint, put back those versions checks. But actually
trying to deal with very old server versions seems futile, so instead of
resurrecting all the code, just put an error message into the branches
where upstream e.g. constructs queries that work with older versions. The
version checks should never actually fail, because we check the server
version once at the beginning of pg_dump. But it's nice to have something
in those branches, to document the fact that there was more code there in
the upstream, and to keep the formatting the same as in upstream.

xinzweb/gpdb,lisakowen/gpdb,edespino/gpdb,edespino/gpdb,ashwinstar/gpdb,50wu/gpdb,edespino/gpdb,lisakowen/gpdb,50wu/gpdb,edespino/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,adam8157/gpdb,Chibin/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,Chibin/gpdb,jmcatamney/gpdb,lisakowen/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,xinzweb/gpdb,Chibin/gpdb,adam8157/gpdb,Chibin/gpdb,janebeckman/gpdb,50wu/gpdb,yuanzhao/gpdb,Chibin/gpdb,adam8157/gpdb,50wu/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,50wu/gpdb,adam8157/gpdb,50wu/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,adam8157/gpdb,Chibin/gpdb,greenplum-db/gpdb,Chibin/gpdb,lisakowen/gpdb,janebeckman/gpdb,edespino/gpdb,xinzweb/gpdb,janebeckman/gpdb,adam8157/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,janebeckman/gpdb,xinzweb/gpdb,yuanzhao/gpdb,adam8157/gpdb,xinzweb/gpdb,janebeckman/gpdb,jmcatamney/gpdb,50wu/gpdb,janebeckman/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,janebeckman/gpdb,50wu/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,janebeckman/gpdb,Chibin/gpdb,greenplum-db/gpdb,xinzweb/gpdb,jmcatamney/gpdb,lisakowen/gpdb,edespino/gpdb,edespino/gpdb,lisakowen/gpdb,edespino/gpdb,janebeckman/gpdb,adam8157/gpdb,Chibin/gpdb,yuanzhao/gpdb,Chibin/gpdb,edespino/gpdb,ashwinstar/gpdb,lisakowen/gpdb,greenplum-db/gpdb,xinzweb/gpdb,janebeckman/gpdb,greenplum-db/gpdb,edespino/gpdb,lisakowen/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,xinzweb/gpdb