hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject incubator-hawq git commit: HAWQ-10. Skip hcatalog database when calculating the sizes of databases
Date Sat, 10 Oct 2015 03:33:36 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 96779dd2e -> d6ac62b7c


HAWQ-10. Skip hcatalog database when calculating the sizes of databases


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/d6ac62b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/d6ac62b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/d6ac62b7

Branch: refs/heads/master
Commit: d6ac62b7c4569e9320e395beaa04db24e9e3b011
Parents: 96779dd
Author: Lirong Jian <ljian@pivotal.io>
Authored: Sat Oct 10 11:10:12 2015 +0800
Committer: Lirong Jian <ljian@pivotal.io>
Committed: Sat Oct 10 11:10:12 2015 +0800

----------------------------------------------------------------------
 src/backend/catalog/gp_toolkit.sql.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d6ac62b7/src/backend/catalog/gp_toolkit.sql.in
----------------------------------------------------------------------
diff --git a/src/backend/catalog/gp_toolkit.sql.in b/src/backend/catalog/gp_toolkit.sql.in
index dd72548..43e0ffb 100644
--- a/src/backend/catalog/gp_toolkit.sql.in
+++ b/src/backend/catalog/gp_toolkit.sql.in
@@ -1768,7 +1768,8 @@ AS
 	WHERE
 		datname <> 'template0' 
 	AND datname <> 'template1'
-	AND datname <> 'postgres';
+	AND datname <> 'postgres'
+	AND datname <> 'hcatalog';
 		
 GRANT SELECT ON TABLE %%JETPACK_PREFIX%%size_of_database TO public;
 


Mime
View raw message