Hi,
I have made all the changes mentioned in below mail.
Along with that I have changed the code to read autoRollBack value in pgadmin/frm/frmQuery.cpp file.
previously it was used "settings->Read(wxT("frmQuery/AutoRollBack"), &bVal, true)" directly.
Now I have changed it to settings->GetAutoRollBack() which is defined in sysSettings class.
I have attached the new patch with this mail.
Please review it and do the needful.