Merge remote-tracking branch 'origin/create_alter_database' into create_alter_database

pull/7240/head
Onur Tirtir 2023-11-13 11:43:51 +03:00
commit f5a3f4d351
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ DeparseAlterDatabaseSetStmt(Node *node)
static void
ValidateCreateDatabaseOptions(DefElem *option)
{
if (strcmp(option->defname, "strategy") == 0)
if (strcmp(option->defname, "strategy") == 0 || strcmp(option->defname, "oid") == 0)
{
ereport(ERROR,
errmsg("CREATE DATABASE option \"%s\" is not supported",