mirror of https://github.com/citusdata/citus.git
Fix typo in error message for truncating foreign tables (#5864)
parent
6cb04c0d84
commit
b52823f8b4
|
@ -277,7 +277,7 @@ ErrorIfUnsupportedTruncateStmt(TruncateStmt *truncateStatement)
|
||||||
{
|
{
|
||||||
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("truncating foreign tables that are added to metadata "
|
errmsg("truncating foreign tables that are added to metadata "
|
||||||
"can only be excuted on the coordinator")));
|
"can only be executed on the coordinator")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1330,7 +1330,7 @@ SELECT count(*) FROM pg14.foreign_table;
|
||||||
|
|
||||||
-- should error out
|
-- should error out
|
||||||
TRUNCATE foreign_table;
|
TRUNCATE foreign_table;
|
||||||
ERROR: truncating foreign tables that are added to metadata can only be excuted on the coordinator
|
ERROR: truncating foreign tables that are added to metadata can only be executed on the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- cleanup
|
-- cleanup
|
||||||
set client_min_messages to error;
|
set client_min_messages to error;
|
||||||
|
|
Loading…
Reference in New Issue