Skip to content

Commit

Permalink
Update src/backend/distributed/commands/table.c
Browse files Browse the repository at this point in the history
Co-authored-by: Naisila Puka <37271756+naisila@users.noreply.github.com>
  • Loading branch information
m3hm3t and naisila authored Dec 26, 2024
1 parent 702c622 commit 55f26bb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/backend/distributed/commands/table.c
Original file line number Diff line number Diff line change
Expand Up @@ -3674,9 +3674,10 @@ ErrorIfUnsupportedAlterTableStmt(AlterTableStmt *alterTableStatement)
*/
if (command->name == NULL)
{
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("ALTER TABLE .. SET ACCESS METHOD DEFAULT "
"commands are currently unsupported.")));
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),

Check warning on line 3677 in src/backend/distributed/commands/table.c

View check run for this annotation

Codecov / codecov/patch

src/backend/distributed/commands/table.c#L3677

Added line #L3677 was not covered by tests
errmsg("DEFAULT option in ALTER TABLE ... SET ACCESS METHOD "
"is currently unsupported."),
errhint("You can rerun the command by explicitly writing the access method name.")));
}
break;
}
Expand Down

0 comments on commit 55f26bb

Please sign in to comment.