You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by jd...@apache.org on 2015/10/22 04:41:11 UTC
incubator-hawq git commit: HAWQ-34. Skip hcatalog in
gp_persistent_build_all
Repository: incubator-hawq
Updated Branches:
refs/heads/master 7ad89503c -> d89788de7
HAWQ-34. Skip hcatalog in gp_persistent_build_all
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/d89788de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/d89788de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/d89788de
Branch: refs/heads/master
Commit: d89788de77cbc806732bcd2b9fdb81737a6f2090
Parents: 7ad8950
Author: Jimmy Da <ji...@gmail.com>
Authored: Mon Oct 19 09:57:47 2015 -0700
Committer: Jimmy Da <ji...@gmail.com>
Committed: Wed Oct 21 19:40:28 2015 -0700
----------------------------------------------------------------------
src/backend/cdb/cdbpersistentbuild.c | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d89788de/src/backend/cdb/cdbpersistentbuild.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbpersistentbuild.c b/src/backend/cdb/cdbpersistentbuild.c
index e161060..7b161b1 100755
--- a/src/backend/cdb/cdbpersistentbuild.c
+++ b/src/backend/cdb/cdbpersistentbuild.c
@@ -768,6 +768,10 @@ gp_persistent_build_all(PG_FUNCTION_ARGS)
Oid dbOid;
dbOid = HeapTupleGetOid(tuple);
+
+ if (dbOid == HcatalogDbOid)
+ continue;
+
if (dbOid == TemplateDbOid)
{
if (Debug_persistent_print)