View Single Post

   
  #1 (permalink)  
Old 04-17-2008, 04:28 PM
Hiroshi Saito
 
Posts: n/a
Default pg_hba.conf can't write

Hi Andreas.

Strange action?

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

void dlgHbaConfig::OnOK(wxCommandEvent& ev)
{
line->isComment = !chkEnabled->GetValue();
line->connectType = (pgHbaConfigLine:gHbaConnectType)cbType->GetSelection();
line->database = database;
line->user = user;
line->ipaddress = txtIPaddress->GetValue();
line->method = (pgHbaConfigLine:gHbaMethod)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





---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Reply With Quote