Fix error thrown when examining a Slony 2.x cluster.
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 1 Jul 2009 14:07:55 +0000 (14:07 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 1 Jul 2009 14:07:55 +0000 (14:07 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7959 a7884b65-44f6-0310-8a51-81a127f17b15

CHANGELOG
pgadmin/slony/slNode.cpp

index 80009fc47ee899421f8530bf8216fd29213ac5c4..658cb6d5961e27f0cad263d2f09976d40b0753d7 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -36,6 +36,7 @@ Changes
 \r
 Date       Dev Ver     Change details\r
 ---------- --- ------  --------------\r
+2009-07-01 DP  1.10.1  Fix error thrown when examining a Slony 2.x cluster.\r
 2009-04-01 DP  1.10.0  Add support for RETURNS TABLE() on functions [Ashesh\r
                        Vashi].\r
 2009-04-01 DP  1.10.0  Fix the validation of database and schema restriction\r
index 018f8956ec4201c7530fe1a5e3a0012d86bed08a..6a35961b2317034d574a6a3806cdab69757ed527 100644 (file)
@@ -287,7 +287,10 @@ pgObject *slNodeFactory::CreateObjects(pgCollection *coll, ctlTree *browser, con
             node->iSetComment(nodes->GetVal(wxT("no_comment")));
 
             if (collection->GetCluster()->ClusterMinimumVersion(1,1))
-                node->iSetSpool(nodes->GetBool(wxT("no_spool")));
+            {
+                if (nodes->HasColumn(wxT("no_spool")))
+                    node->iSetSpool(nodes->GetBool(wxT("no_spool")));
+            }
 
             if (browser)
             {