Attached is the updated version of the patch, which matches on words as opposed to lines, which means that all of the following work in psql:
Attached is the updated version of the patch, which matches
on words as opposed to lines, which means that all of the
following work in psql:

\d foo \d bar
\d foo; \d bar
\d foo \d bar;;
\d foo; <space>


This one also uses "true and false" and strips semicolons
for the following backslash commands: \C \c \d \e \i \o \s \z

Greg Sabino Mullane

ovr/postgres-xl,CraigHarris/gpdb,Chibin/gpdb,jmcatamney/gpdb,50wu/gpdb,cjcjameson/gpdb,janebeckman/gpdb,atris/gpdb,arcivanov/postgres-xl,CraigHarris/gpdb,lpetrov-pivotal/gpdb,rubikloud/gpdb,Quikling/gpdb,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,tangp3/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,edespino/gpdb,chrishajas/gpdb,lisakowen/gpdb,rvs/gpdb,yuanzhao/gpdb,Quikling/gpdb,oberstet/postgres-xl,chrishajas/gpdb,oberstet/postgres-xl,Chibin/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,xuegang/gpdb,ashwinstar/gpdb,rubikloud/gpdb,yuanzhao/gpdb,xinzweb/gpdb,kaknikhil/gpdb,tpostgres-projects/tPostgres,rubikloud/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,kmjungersen/PostgresXL,edespino/gpdb,Chibin/gpdb,jmcatamney/gpdb,lintzc/gpdb,0x0FFF/gpdb,foyzur/gpdb,cjcjameson/gpdb,atris/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,oberstet/postgres-xl,rubikloud/gpdb,zaksoup/gpdb,50wu/gpdb,xuegang/gpdb,edespino/gpdb,xuegang/gpdb,yuanzhao/gpdb,kmjungersen/PostgresXL,lpetrov-pivotal/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,ahachete/gpdb,xinzweb/gpdb,yuanzhao/gpdb,zaksoup/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,pavanvd/postgres-xl,zeroae/postgres-xl,adam8157/gpdb,CraigHarris/gpdb,cjcjameson/gpdb,postmind-net/postgres-xl,lintzc/gpdb,rubikloud/gpdb,0x0FFF/gpdb,tpostgres-projects/tPostgres,jmcatamney/gpdb,chrishajas/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,tangp3/gpdb,rubikloud/gpdb,xinzweb/gpdb,ahachete/gpdb,rvs/gpdb,lintzc/gpdb,chrishajas/gpdb,atris/gpdb,xuegang/gpdb,cjcjameson/gpdb,foyzur/gpdb,kaknikhil/gpdb,lintzc/gpdb,lintzc/gpdb,yazun/postgres-xl,kaknikhil/gpdb,atris/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,royc1/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,50wu/gpdb,techdragon/Postgres-XL,chrishajas/gpdb,yuanzhao/gpdb,tangp3/gpdb,janebeckman/gpdb,greenplum-db/gpdb,Chibin/gpdb,oberstet/postgres-xl,CraigHarris/gpdb,techdragon/Postgres-XL,zaksoup/gpdb,cjcjameson/gpdb,zeroae/postgres-xl,randomtask1155/gpdb,edespino/gpdb,janebeckman/gpdb,randomtask1155/gpdb,ovr/postgres-xl,xuegang/gpdb,royc1/gpdb,50wu/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,tpostgres-projects/tPostgres,edespino/gpdb,kaknikhil/gpdb,janebeckman/gpdb,janebeckman/gpdb,0x0FFF/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,rvs/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,greenplum-db/gpdb,adam8157/gpdb,ovr/postgres-xl,Chibin/gpdb,lpetrov-pivotal/gpdb,zaksoup/gpdb,CraigHarris/gpdb,xinzweb/gpdb,xinzweb/gpdb,adam8157/gpdb,atris/gpdb,jmcatamney/gpdb,ovr/postgres-xl,postmind-net/postgres-xl,cjcjameson/gpdb,cjcjameson/gpdb,Quikling/gpdb,ahachete/gpdb,ashwinstar/gpdb,royc1/gpdb,adam8157/gpdb,snaga/postgres-xl,yazun/postgres-xl,arcivanov/postgres-xl,royc1/gpdb,chrishajas/gpdb,Chibin/gpdb,pavanvd/postgres-xl,snaga/postgres-xl,atris/gpdb,chrishajas/gpdb,xuegang/gpdb,snaga/postgres-xl,adam8157/gpdb,zaksoup/gpdb,xuegang/gpdb,xuegang/gpdb,jmcatamney/gpdb,rvs/gpdb,50wu/gpdb,royc1/gpdb,randomtask1155/gpdb,edespino/gpdb,royc1/gpdb,jmcatamney/gpdb,lintzc/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,foyzur/gpdb,rvs/gpdb,kmjungersen/PostgresXL,yuanzhao/gpdb,Postgres-XL/Postgres-XL,tangp3/gpdb,ahachete/gpdb,greenplum-db/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,yuanzhao/gpdb,Chibin/gpdb,adam8157/gpdb,rvs/gpdb,tangp3/gpdb,50wu/gpdb,0x0FFF/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,rvs/gpdb,janebeckman/gpdb,pavanvd/postgres-xl,foyzur/gpdb,lisakowen/gpdb,CraigHarris/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,Chibin/gpdb,xuegang/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,Quikling/gpdb,janebeckman/gpdb,jmcatamney/gpdb,Postgres-XL/Postgres-XL,snaga/postgres-xl,lisakowen/gpdb,Quikling/gpdb,atris/gpdb,postmind-net/postgres-xl,royc1/gpdb,Quikling/gpdb,cjcjameson/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,Quikling/gpdb,tpostgres-projects/tPostgres,arcivanov/postgres-xl,Chibin/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,edespino/gpdb,kmjungersen/PostgresXL,foyzur/gpdb,kaknikhil/gpdb,ahachete/gpdb,zaksoup/gpdb,ahachete/gpdb,zeroae/postgres-xl,zaksoup/gpdb,tangp3/gpdb,janebeckman/gpdb,oberstet/postgres-xl,tangp3/gpdb,Quikling/gpdb,ahachete/gpdb,lisakowen/gpdb,janebeckman/gpdb,ashwinstar/gpdb,50wu/gpdb,ahachete/gpdb,rvs/gpdb,postmind-net/postgres-xl,Quikling/gpdb,lintzc/gpdb,atris/gpdb,tangp3/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,kaknikhil/gpdb,edespino/gpdb,arcivanov/postgres-xl,edespino/gpdb,ashwinstar/gpdb,xinzweb/gpdb,foyzur/gpdb,adam8157/gpdb,zaksoup/gpdb,rubikloud/gpdb,snaga/postgres-xl,greenplum-db/gpdb,edespino/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,lintzc/gpdb,ovr/postgres-xl,lisakowen/gpdb,yazun/postgres-xl,50wu/gpdb,xinzweb/gpdb,ashwinstar/gpdb,Quikling/gpdb,yazun/postgres-xl,chrishajas/gpdb,royc1/gpdb,postmind-net/postgres-xl,yazun/postgres-xl,rvs/gpdb,adam8157/gpdb,rubikloud/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,rvs/gpdb,lintzc/gpdb