Log Message:
-----------
fix cut-off set/node comments

Modified Files:
--------------
    pgadmin3/src/slony:
        slNode.cpp (r1.2 -> r1.3)
        slSet.cpp (r1.2 -> r1.3)

Index: slSet.cpp
===================================================================
RCS file: /projects/pgadmin3/src/slony/slSet.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/slony/slSet.cpp -Lsrc/slony/slSet.cpp -u -w -r1.2 -r1.3
--- src/slony/slSet.cpp
+++ src/slony/slSet.cpp
@@ -67,7 +67,7 @@
         sql = wxT("-- Create replication set ") + GetName() + wxT(".\n\n")
               wxT("SELECT ") + GetCluster()->GetSchemaPrefix() + 
wxT("storeset(") 
                     + NumToStr(GetSlId()) + wxT(", ")
-                    + qtString(GetName()) + wxT(");\n");
+                    + qtString(GetComment()) + wxT(");\n");
     }
     return sql;
 }
Index: slNode.cpp
===================================================================
RCS file: /projects/pgadmin3/src/slony/slNode.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/slony/slNode.cpp -Lsrc/slony/slNode.cpp -u -w -r1.2 -r1.3
--- src/slony/slNode.cpp
+++ src/slony/slNode.cpp
@@ -60,7 +60,7 @@
         sql = wxT("-- Create replication node ") + GetName() + wxT(".\n\n")
               wxT("SELECT ") + GetCluster()->GetSchemaPrefix() + 
wxT("storenode(") 
                     + NumToStr(GetSlId()) + wxT(", ")
-                    + qtString(GetName()) + wxT(");\n");
+                    + qtString(GetComment()) + wxT(");\n");
     }
     return sql;
 }
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to