mirror of https://github.com/citusdata/citus.git
Adds citus.mitmfifo GUC
Previously we setting this configuration parameter in the fly for failure tests schedule. However, PG15 doesn't allow that anymore: reserved prefixes like "citus" cannot be used to set non-existing GUCs. Relevant PG commit: 88103567cb8fa5be46dc9fac3e3b8774951a2be7version-15-socket
parent
a499fea352
commit
316d7599c0
|
@ -146,6 +146,7 @@ DEFINE_COLUMNAR_PASSTHROUGH_FUNC(test_columnar_storage_write_new_page)
|
||||||
#define DUMMY_REAL_TIME_EXECUTOR_ENUM_VALUE 9999999
|
#define DUMMY_REAL_TIME_EXECUTOR_ENUM_VALUE 9999999
|
||||||
static char *CitusVersion = CITUS_VERSION;
|
static char *CitusVersion = CITUS_VERSION;
|
||||||
static char *DeprecatedEmptyString = "";
|
static char *DeprecatedEmptyString = "";
|
||||||
|
static char *MitmfifoEmptyString = "";
|
||||||
|
|
||||||
/* deprecated GUC value that should not be used anywhere outside this file */
|
/* deprecated GUC value that should not be used anywhere outside this file */
|
||||||
static int ReplicationModel = REPLICATION_MODEL_STREAMING;
|
static int ReplicationModel = REPLICATION_MODEL_STREAMING;
|
||||||
|
@ -1767,6 +1768,24 @@ RegisterCitusConfigVariables(void)
|
||||||
GUC_UNIT_MS | GUC_NO_SHOW_ALL,
|
GUC_UNIT_MS | GUC_NO_SHOW_ALL,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Previously we setting this configuration parameter
|
||||||
|
* in the fly for failure tests schedule.
|
||||||
|
* However, PG15 doesn't allow that anymore: reserved prefixes
|
||||||
|
* like "citus" cannot be used to set non-existing GUCs.
|
||||||
|
* Relevant PG commit: 88103567cb8fa5be46dc9fac3e3b8774951a2be7
|
||||||
|
*/
|
||||||
|
|
||||||
|
DefineCustomStringVariable(
|
||||||
|
"citus.mitmfifo",
|
||||||
|
gettext_noop("Sets the citus mitm fifo path"),
|
||||||
|
NULL,
|
||||||
|
&MitmfifoEmptyString,
|
||||||
|
"",
|
||||||
|
PGC_SUSET,
|
||||||
|
GUC_NO_SHOW_ALL,
|
||||||
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomEnumVariable(
|
DefineCustomEnumVariable(
|
||||||
"citus.multi_shard_modify_mode",
|
"citus.multi_shard_modify_mode",
|
||||||
gettext_noop("Sets the connection type for multi shard modify queries"),
|
gettext_noop("Sets the connection type for multi shard modify queries"),
|
||||||
|
|
Loading…
Reference in New Issue