mirror of https://github.com/citusdata/citus.git
indent
parent
ffa1fa0963
commit
1a80181a9c
|
@ -271,14 +271,14 @@ ValidateCreateDatabaseOptions(DefElem *option)
|
||||||
if (strcmp(option->defname, "template") == 0 && strcmp(optionValue, "template1") != 0)
|
if (strcmp(option->defname, "template") == 0 && strcmp(optionValue, "template1") != 0)
|
||||||
{
|
{
|
||||||
ereport(ERROR, errmsg("Only template1 is supported as template "
|
ereport(ERROR, errmsg("Only template1 is supported as template "
|
||||||
"parameter for CREATE DATABASE"));
|
"parameter for CREATE DATABASE"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(option->defname, "strategy") == 0 && strcmp(optionValue, "wal_log") != 0)
|
if (strcmp(option->defname, "strategy") == 0 && strcmp(optionValue, "wal_log") != 0)
|
||||||
{
|
{
|
||||||
ereport(ERROR, errmsg("Only wal_log is supported as strategy "
|
ereport(ERROR, errmsg("Only wal_log is supported as strategy "
|
||||||
"parameter for CREATE DATABASE"));
|
"parameter for CREATE DATABASE"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue