On Wed, Jul 1, 2009 at 9:12 AM, Pedro Doria
Meunier<pdo...@netmadeira.com> wrote:
> Hi Dave,
>
> Could you please tell me why when I click on a cluster pgAdmin
> exhibits a dialog stating:
> "Column not found in pgSet: no_spool" ?
>
> - pgAdmin version 1.10.0 Beta2 rev. 7749
> - Slony ver 2.0.2
> - Master on a remote server
> - Slony-I not installed on localhost (could it be it?!)

I guess noone tried Slony 2.0 yet :-(. Please try the patch below:

Index: pgadmin/slony/slNode.cpp
===================================================================
--- pgadmin/slony/slNode.cpp    (revision 7945)
+++ pgadmin/slony/slNode.cpp    (working copy)
@@ -287,7 +287,10 @@
             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)
             {



-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to