diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 341262b6fc884355b92fabef7724842f8808e819..60d387a5e6c6711080527705ccf3a38266342dfd 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -564,8 +564,7 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId)
 	descriptor = BuildDescForRelation(schema);
 
 	localHasOids = interpretOidsOption(stmt->options,
-									   (relkind == RELKIND_RELATION ||
-										relkind == RELKIND_FOREIGN_TABLE));
+									   (relkind == RELKIND_RELATION));
 	descriptor->tdhasoid = (localHasOids || parentOidCount > 0);
 
 	/*