You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2015/12/14 03:24:26 UTC

incubator-hawq git commit: HAWQ-249. Remove deprecated misc GUCs

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 0f0983214 -> 93db9c0d1


HAWQ-249. Remove deprecated misc GUCs


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

Branch: refs/heads/master
Commit: 93db9c0d18dfb119685286ae68a7651b3d2a2786
Parents: 0f09832
Author: Ruilong Huo <rh...@pivotal.io>
Authored: Fri Dec 11 02:51:42 2015 -0800
Committer: Ruilong Huo <rh...@pivotal.io>
Committed: Mon Dec 14 10:23:24 2015 +0800

----------------------------------------------------------------------
 src/backend/utils/misc/guc.c                  | 30 ----------------------
 src/backend/utils/misc/postgresql.conf.sample |  1 -
 src/include/utils/guc.h                       |  2 --
 src/test/unit/mock/mock_info.json             |  4 ---
 4 files changed, 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93db9c0d/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index debea7b..c98d33e 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -308,7 +308,6 @@ int         Test_compresslevel_override = 0;
 int			Test_blocksize_override = 0;
 int			Test_safefswritesize_override = 0;
 bool        Master_mirroring_administrator_disable = false;
-int			gp_max_local_distributed_cache = 1024;
 bool		gp_appendonly_verify_block_checksums = false;
 bool 		gp_appendonly_verify_write_block = false;
 bool		gp_heap_require_relhasoids_match = true;
@@ -336,7 +335,6 @@ bool		Debug_datumstream_read_print_varlena_info = false;
 bool		Debug_datumstream_write_use_small_initial_buffers = false;
 bool		gp_temporary_files_filespace_repair = false;
 bool		filesystem_support_truncate = true;
-bool		gp_create_table_random_default_distribution = false;
 bool		gp_allow_non_uniform_partitioning_ddl = true;
 
 int			explain_memory_verbosity = 0;
@@ -3395,16 +3393,6 @@ static struct config_bool ConfigureNamesBool[] =
 	},
 
 	{
-		{"gp_create_table_random_default_distribution", PGC_USERSET, COMPAT_OPTIONS,
-			gettext_noop("Set the default distribution of a table to RANDOM."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&gp_create_table_random_default_distribution,
-		false, NULL, NULL
-	},
-
-	{
 		{"gp_allow_non_uniform_partitioning_ddl", PGC_USERSET, COMPAT_OPTIONS,
 			gettext_noop("Allow DDL that will create multi-level partition table with non-uniform hierarchy."),
 			NULL,
@@ -4645,15 +4633,6 @@ static struct config_int ConfigureNamesInt[] =
 	},
 
 	{
-		{"gp_max_local_distributed_cache", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the number of local-distributed transactions to cache for optimizing visibility processing by backends."),
-			NULL
-		},
-		&gp_max_local_distributed_cache,
-		1024, 0, INT_MAX, NULL, NULL
-	},
-
-	{
 		{"gp_max_relations", PGC_POSTMASTER, RESOURCES_MEM,
 			gettext_noop("Sets the maximum number of relations."),
 			NULL
@@ -4895,15 +4874,6 @@ static struct config_int ConfigureNamesInt[] =
 	},
 
 	{
-		{"vacuum_cost_page_hit", PGC_USERSET, RESOURCES,
-			gettext_noop("Vacuum cost for a page found in the buffer cache."),
-			NULL
-		},
-		&VacuumCostPageHit,
-		1, 0, 10000, NULL, NULL
-	},
-
-	{
 		{"vacuum_cost_page_miss", PGC_USERSET, RESOURCES,
 			gettext_noop("Vacuum cost for a page not found in the buffer cache."),
 			NULL

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93db9c0d/src/backend/utils/misc/postgresql.conf.sample
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 74f6de1..c88addd 100755
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -124,7 +124,6 @@ max_prepared_transactions = 250		# can be 0 or more
 # - Cost-Based Vacuum Delay -
 
 #vacuum_cost_delay = 0ms		# 0-100 milliseconds
-#vacuum_cost_page_hit = 1		# 0-10000 credits
 #vacuum_cost_page_miss = 10		# 0-10000 credits
 #vacuum_cost_page_dirty = 20		# 0-10000 credits
 #vacuum_cost_limit = 200		# 1-10000 credits

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93db9c0d/src/include/utils/guc.h
----------------------------------------------------------------------
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 59bd208..88b4d54 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -156,7 +156,6 @@ extern int  Test_compresslevel_override;
 extern int	Test_blocksize_override;
 extern int  Test_safefswritesize_override;
 extern bool Master_mirroring_administrator_disable;
-extern int  gp_max_local_distributed_cache;
 extern bool gp_local_distributed_cache_stats;
 extern bool gp_appendonly_verify_block_checksums;
 extern bool gp_appendonly_verify_write_block;
@@ -209,7 +208,6 @@ extern bool filerep_inject_db_startup_fault;
 extern bool filerep_inject_change_tracking_recovery_fault;
 extern bool gp_crash_recovery_suppress_ao_eof;
 extern bool Debug_check_for_invalid_persistent_tid;
-extern bool gp_create_table_random_default_distribution;
 extern bool gp_allow_non_uniform_partitioning_ddl;
 
 extern bool gp_upgrade_mode;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93db9c0d/src/test/unit/mock/mock_info.json
----------------------------------------------------------------------
diff --git a/src/test/unit/mock/mock_info.json b/src/test/unit/mock/mock_info.json
index 27af68e..1981a3b 100644
--- a/src/test/unit/mock/mock_info.json
+++ b/src/test/unit/mock/mock_info.json
@@ -14092,10 +14092,6 @@
             "filename": "src/backend/utils/misc/guc.c", 
             "header filename": "src/include/utils/guc.h"
         }, 
-        "gp_max_local_distributed_cache": {
-            "filename": "src/backend/utils/misc/guc.c", 
-            "header filename": "src/include/utils/guc.h"
-        }, 
         "gp_max_tablespaces": {
             "filename": "src/backend/utils/misc/guc.c", 
             "header filename": "src/include/utils/guc.h"