Re: pgAdmin - no_spool

From: Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin - no_spool
Date: 2009-07-01 14:00:32
Message-ID: 4A4B6C00.1030704@netmadeira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave,

It works perfectly! Thanks!

Perhaps you should commit the patch ;-)

BR,

Pedro Doria Meunier
GSM: +351 96 17 20 188
Skype: pdoriam

Dave Page wrote:
> On Wed, Jul 1, 2009 at 9:12 AM, Pedro Doria
> Meunier<pdoria(at)netmadeira(dot)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)
> {
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFKS2v32FH5GXCfxAsRAmI+AJwM26NCm5RfgLCRpoVIY/wcbxo6JwCgvjxN
9JjkZG8urb9yTIXmAjJ7cPI=
=56rR
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2009-07-01 14:09:08 Re: pgAdmin - no_spool
Previous Message Dave Page 2009-07-01 09:07:32 Re: pgAdmin - no_spool