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),
|
||||
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
|
||||
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
|
||||
-- cleanup
|
||||
set client_min_messages to error;
|
||||
|
|
Loading…
Reference in New Issue