Hi,
If one right clicks on database and goes to properties, there the "Default
Privileges" tab does not seem to contain the 'public' schema pre-selected.
It is so the case in the normal "Privileges" for example. This patch
pre-populates the 'public' schema for the default privileges case too.
Regards,
Nikhils
diff --git a/pgadmin/ctl/ctlDefaultSecurityPanel.cpp b/pgadmin/ctl/ctlDefaultSecurityPanel.cpp
index 870e0ba..59a8614 100644
--- a/pgadmin/ctl/ctlDefaultSecurityPanel.cpp
+++ b/pgadmin/ctl/ctlDefaultSecurityPanel.cpp
@@ -153,6 +153,8 @@ ctlDefaultPrivilegesPanel::ctlDefaultPrivilegesPanel(ctlDefaultSecurityPanel *de
stGroup = new wxStaticText(this, CTL_DEFSTATICGROUP, strGroupLabel);
itemSizer4a->Add(stGroup, 0, wxEXPAND | wxALIGN_CENTRE_VERTICAL | wxTOP | wxLEFT | wxRIGHT, 4);
cbGroups = new ctlComboBox(this, CTL_DEFCBGROUP, wxDefaultPosition, wxDefaultSize);
+ cbGroups->Append(wxT("public"));
+ cbGroups->SetSelection(0);
itemSizer4a->Add(cbGroups, wxEXPAND | wxALIGN_CENTRE_VERTICAL | wxTOP | wxLEFT | wxRIGHT);
itemSizer3->Add(itemSizer4a, 0, wxEXPAND | wxALL, 0);
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers