PGSQL INTERFACES PGADMIN HACKERS 34 RE PG HBA CONF CAN T WRITE
From: saito@no-spam ("Hiroshi Saito")
Subject: Re: pg_hba.conf can't write
Date: Wed, 22 Dec 2004 09:19:59 +0900


Hi Andreas.

This sees the solution of the problem.
Check it, please.

> > One more strange..
> OK button of the save is tough, and it doesn't become quiet.
> This is investigate.
> > regards,
> Hiroshi Saito --- src/ui/frmConfig.cpp.orig Wed Dec 22 09:21:46 2004
+++ src/ui/frmConfig.cpp Wed Dec 22 09:22:28 2004
@@no-spam -199,6 +199,7 @@no-spam if (CheckChanged(event.CanVeto()) && event.CanVeto())
{
event.Veto();
+ if ( filetype !=3D HBAFILE )
return;
}
Destroy();

[qptext frmConfig_patch.txt]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

From: pgadmin@no-spam (Andreas Pflug)
Subject: Re: pg_hba.conf can't write
Date: Wed, 22 Dec 2004 18:24:53 +0000

Hiroshi Saito wrote:
> Hi Andreas.
> > This sees the solution of the problem.
> Check it, please.

I don't understand what the problem is.
But for sure, in the base class shouldn't be any code that checks for derived classes' properties. If there's a problem in frmHbaConfig, it should be fixed *there*.

Regards,
Andreas
> >>One more strange..
>>OK button of the save is tough, and it doesn't become quiet.
>>This is investigate.
>>
>>regards,
>>Hiroshi Saito >>
>>
>>------------------------------------------------------------------------
>>
>>--- src/ui/frmConfig.cpp.orig Wed Dec 22 09:21:46 2004
>>+++ src/ui/frmConfig.cpp Wed Dec 22 09:22:28 2004
>>@@no-spam -199,6 +199,7 @@no-spam >> if (CheckChanged(event.CanVeto()) && event.CanVeto())
>> {
>> event.Veto();
>>+ if ( filetype != HBAFILE )
>> return;
>> }
>> Destroy();
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 8: explain analyze is your friend
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@no-spam