[pgadmin-hackers] pgAdmin III commit: Fix setting the connection for pgScript

2012-02-29 Thread Guillaume Lelarge
Fix setting the connection for pgScript When the user changed the connection, it was set for executing SQL commands, not pgScript commands. So the user could execute queries on another database than the one displayed in the connection combobox. Per report from Charles Gutjahr. Branch -- REL-

[pgadmin-hackers] pgAdmin III commit: Fix setting the connection for pgScript

2012-02-29 Thread Guillaume Lelarge
Fix setting the connection for pgScript When the user changed the connection, it was set for executing SQL commands, not pgScript commands. So the user could execute queries on another database than the one displayed in the connection combobox. Per report from Charles Gutjahr. Branch -- mast