Fix two error-recovery bugs in describeOneTableDetails(), and make the code to dump sequence values cope with sequences outside the search path and/or having names that need quoting.  No back-patch needed because these are new problems in 8.4.
Fix two error-recovery bugs in describeOneTableDetails(), and make the code
to dump sequence values cope with sequences outside the search path and/or
having names that need quoting.  No back-patch needed because these are new
problems in 8.4.

Kris Jurka  (also a little bit of code beautification by tgl)

greenplum-db/gpdb,edespino/gpdb,50wu/gpdb,edespino/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,50wu/gpdb,adam8157/gpdb,edespino/gpdb,pavanvd/postgres-xl,greenplum-db/gpdb,kmjungersen/PostgresXL,arcivanov/postgres-xl,techdragon/Postgres-XL,adam8157/gpdb,lisakowen/gpdb,arcivanov/postgres-xl,Chibin/gpdb,kmjungersen/PostgresXL,kmjungersen/PostgresXL,jmcatamney/gpdb,Chibin/gpdb,postmind-net/postgres-xl,postmind-net/postgres-xl,tpostgres-projects/tPostgres,postmind-net/postgres-xl,Chibin/gpdb,edespino/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,snaga/postgres-xl,pavanvd/postgres-xl,yuanzhao/gpdb,edespino/gpdb,yazun/postgres-xl,ashwinstar/gpdb,zeroae/postgres-xl,Chibin/gpdb,techdragon/Postgres-XL,50wu/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,oberstet/postgres-xl,lisakowen/gpdb,50wu/gpdb,edespino/gpdb,lisakowen/gpdb,50wu/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,yuanzhao/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,ovr/postgres-xl,tpostgres-projects/tPostgres,Chibin/gpdb,pavanvd/postgres-xl,ovr/postgres-xl,jmcatamney/gpdb,pavanvd/postgres-xl,oberstet/postgres-xl,ashwinstar/gpdb,ashwinstar/gpdb,edespino/gpdb,edespino/gpdb,ashwinstar/gpdb,xinzweb/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,ovr/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,techdragon/Postgres-XL,oberstet/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,zeroae/postgres-xl,lisakowen/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,yuanzhao/gpdb,adam8157/gpdb,ashwinstar/gpdb,edespino/gpdb,xinzweb/gpdb,50wu/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,adam8157/gpdb,snaga/postgres-xl,jmcatamney/gpdb,techdragon/Postgres-XL,snaga/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,tpostgres-projects/tPostgres,jmcatamney/gpdb,lisakowen/gpdb,yuanzhao/gpdb,snaga/postgres-xl,adam8157/gpdb,lisakowen/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,ovr/postgres-xl,yuanzhao/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,tpostgres-projects/tPostgres,zeroae/postgres-xl,Postgres-XL/Postgres-XL,kmjungersen/PostgresXL,yazun/postgres-xl,xinzweb/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,xinzweb/gpdb,50wu/gpdb,Chibin/gpdb,adam8157/gpdb,xinzweb/gpdb,greenplum-db/gpdb,postmind-net/postgres-xl,ovr/postgres-xl,yazun/postgres-xl,yazun/postgres-xl,xinzweb/gpdb,ashwinstar/gpdb,Chibin/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,Chibin/gpdb,yuanzhao/gpdb,adam8157/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,arcivanov/postgres-xl,zeroae/postgres-xl,snaga/postgres-xl,oberstet/postgres-xl