summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2016-02-08 17:02:12 +0000
committerPavan Deolasee2016-10-18 09:57:45 +0000
commit32fc67762a3c89e937413ff8817dbfb02356f36d (patch)
treeda4fe0d5b627b75b0eb543231fafd71cc9d0e235
parentd161786ed108cc73f571a63e37a573dad4b96f97 (diff)
Let many GUC parameters be user-settable, compatible with PG.
They were made SUSET to support multi-tenant environment, but no longer applicable to the current use case of XL.
-rw-r--r--src/backend/utils/misc/guc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index ece77fb717..e74666d045 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -1668,11 +1668,7 @@ static struct config_bool ConfigureNamesBool[] =
},
{
-#ifdef XCP
- {"synchronize_seqscans", PGC_SUSET, COMPAT_OPTIONS_PREVIOUS,
-#else
{"synchronize_seqscans", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-#endif
gettext_noop("Enable synchronized sequential scans."),
NULL
},
@@ -1999,11 +1995,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
-#ifdef XCP
- {"temp_buffers", PGC_SUSET, RESOURCES_MEM,
-#else
{"temp_buffers", PGC_USERSET, RESOURCES_MEM,
-#endif
gettext_noop("Sets the maximum number of temporary buffers used by each session."),
NULL,
GUC_UNIT_BLOCKS
@@ -2053,11 +2045,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
-#ifdef XCP
- {"work_mem", PGC_SUSET, RESOURCES_MEM,
-#else
{"work_mem", PGC_USERSET, RESOURCES_MEM,
-#endif
gettext_noop("Sets the maximum memory to be used for query workspaces."),
gettext_noop("This much memory can be used by each internal "
"sort operation and hash table before switching to "
@@ -2070,11 +2058,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
-#ifdef XCP
- {"maintenance_work_mem", PGC_SUSET, RESOURCES_MEM,
-#else
{"maintenance_work_mem", PGC_USERSET, RESOURCES_MEM,
-#endif
gettext_noop("Sets the maximum memory to be used for maintenance operations."),
gettext_noop("This includes operations such as VACUUM and CREATE INDEX."),
GUC_UNIT_KB
@@ -2481,11 +2465,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
-#ifdef XCP
- {"commit_siblings", PGC_SUSET, WAL_SETTINGS,
-#else
{"commit_siblings", PGC_USERSET, WAL_SETTINGS,
-#endif
gettext_noop("Sets the minimum concurrent open transactions before performing "
"commit_delay."),
NULL