Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
pg_hba.conf can't write

pg_hba.conf can't write



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







Home | Main Index | Thread Index

top