Speed up printing of INSERT statements in pg_dump.
Speed up printing of INSERT statements in pg_dump.

In --inserts and especially --column-inserts mode, we can get a useful
speedup by generating the common prefix of all a table's INSERT commands
just once, and then printing the prebuilt string for each row.  This avoids
multiple invocations of fmtId() and other minor fooling around.

David Rowley

xinzweb/gpdb,jmcatamney/gpdb,adam8157/gpdb,yazun/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,jmcatamney/gpdb,Postgres-XL/Postgres-XL,pavanvd/postgres-xl,jmcatamney/gpdb,yazun/postgres-xl,lisakowen/gpdb,techdragon/Postgres-XL,techdragon/Postgres-XL,lisakowen/gpdb,xinzweb/gpdb,adam8157/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,xinzweb/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,lisakowen/gpdb,ashwinstar/gpdb,50wu/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,greenplum-db/gpdb,50wu/gpdb,50wu/gpdb,yazun/postgres-xl,zeroae/postgres-xl,50wu/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,greenplum-db/gpdb,xinzweb/gpdb,yazun/postgres-xl,oberstet/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,zeroae/postgres-xl,oberstet/postgres-xl,jmcatamney/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,lisakowen/gpdb,adam8157/gpdb,greenplum-db/gpdb,ovr/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,ashwinstar/gpdb,yazun/postgres-xl,adam8157/gpdb,adam8157/gpdb,pavanvd/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,adam8157/gpdb,techdragon/Postgres-XL,adam8157/gpdb,lisakowen/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,xinzweb/gpdb,oberstet/postgres-xl,50wu/gpdb,xinzweb/gpdb,adam8157/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,ovr/postgres-xl,ovr/postgres-xl,zeroae/postgres-xl,50wu/gpdb,zeroae/postgres-xl,pavanvd/postgres-xl,50wu/gpdb,50wu/gpdb,greenplum-db/gpdb,oberstet/postgres-xl