pg_hba.conf can't write - Mailing list pgadmin-hackers

From Hiroshi Saito
Subject pg_hba.conf can't write
Date
Msg-id 01ee01c4e13f$99a93910$1f324d80@w2k
Whole thread Raw
Responses Re: pg_hba.conf can't write  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
Hi Andreas.

Strange action?

<-----dlgHbaConfig.cpp------->

void dlgHbaConfig::OnOK(wxCommandEvent& ev)
{
    line->isComment = !chkEnabled->GetValue();
    line->connectType = (pgHbaConfigLine::pgHbaConnectType)cbType->GetSelection();
    line->database = database;
    line->user = user;
    line->ipaddress = txtIPaddress->GetValue();
    line->method = (pgHbaConfigLine::pgHbaMethod)cbMethod->GetSelection();
    line->option = txtOption->GetValue();

    wxMessageBox(txtIPaddress->GetValue());    //The input of the change (A) -- Debug Message
    wxMessageBox(line->text);                          //strange result (B) -- Debug Message

    EndModal(wxID_OK);
}

The value of (A) isn't taken over in (B).?
Then, a result isn't kept. It is strange.
Is this countermeasure possible for you?
Or, do I have misunderstanding?

regards,
Hiroshi Saito





pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: CVS server moved
Next
From: "Hiroshi Saito"
Date:
Subject: Re: pg_hba.conf can't write