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: 88103567cb8fa5be46dc9fac3e3b8774951a2be7pg_15_iso_fix
parent
79173c1eb5
commit
1f229c6315
|
@ -146,6 +146,7 @@ DEFINE_COLUMNAR_PASSTHROUGH_FUNC(test_columnar_storage_write_new_page)
|
|||
#define DUMMY_REAL_TIME_EXECUTOR_ENUM_VALUE 9999999
|
||||
static char *CitusVersion = CITUS_VERSION;
|
||||
static char *DeprecatedEmptyString = "";
|
||||
static char *MitmfifoEmptyString = "";
|
||||
|
||||
/* deprecated GUC value that should not be used anywhere outside this file */
|
||||
static int ReplicationModel = REPLICATION_MODEL_STREAMING;
|
||||
|
@ -1767,6 +1768,24 @@ RegisterCitusConfigVariables(void)
|
|||
GUC_UNIT_MS | GUC_NO_SHOW_ALL,
|
||||
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(
|
||||
"citus.multi_shard_modify_mode",
|
||||
gettext_noop("Sets the connection type for multi shard modify queries"),
|
||||
|
|
Loading…
Reference in New Issue