diff --git a/pgadmin/slony/dlgRepCluster.cpp b/pgadmin/slony/dlgRepCluster.cpp index 4dbe84c..723f980 100644 --- a/pgadmin/slony/dlgRepCluster.cpp +++ b/pgadmin/slony/dlgRepCluster.cpp @@ -1042,11 +1042,9 @@ wxString dlgRepCluster::GetSql() wxT(");\n"); } - if (!txtComment->GetValue().IsEmpty()) - sql += wxT("\n") - wxT("COMMENT ON SCHEMA ") + quotedName + wxT(" IS ") - + qtDbString(txtComment->GetValue()) + wxT(";\n"); - + sql += wxT("\n") + wxT("COMMENT ON SCHEMA ") + quotedName + wxT(" IS ") + + qtDbString(txtComment->GetValue()) + wxT(";\n"); if (chkJoinCluster->GetValue()) sql += wxT("\n\n-- In addition, the configuration is copied from the existing cluster.\n");