Fix error message of start_metadata_sync_to_node

Single quotation mark is added around nodename.
pull/1247/head
velioglu 2017-02-21 09:27:55 +03:00
parent b8e4763a1a
commit 729a4a3bbe
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ start_metadata_sync_to_node(PG_FUNCTION_ARGS)
{
ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("you cannot sync metadata to a non-existent node"),
errhint("First, add the node with SELECT master_add_node(%s,%d)",
errhint("First, add the node with SELECT master_add_node(\'%s\',%d)",
nodeNameString, nodePort)));
}