Restrict pg_relation_size to relation owner, pg_database_size to DB owner, and pg_tablespace_size to superusers.  Perhaps we could weaken the first case to just require SELECT privilege, but that doesn't work for the other cases, so use ownership as the common concept.
Restrict pg_relation_size to relation owner, pg_database_size to DB owner,
and pg_tablespace_size to superusers.  Perhaps we could weaken the first
case to just require SELECT privilege, but that doesn't work for the
other cases, so use ownership as the common concept.

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