Removes oid support

pull/7240/head
gindibay 2023-11-13 11:41:58 +03:00
parent fe24227638
commit 30e1a858d2
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",