Fix segfault when connecting to a database The issue appears when you first connect to a database, and then disconnect from it. If you try to connect once again to it, you get a segmentation fault because pgAdmin will try to get the database statistics informations from a non-existent connection.
The patch adds a check on the connection status. Report from Steffen Kuhn. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=ff4db7561d41945d26dd2602236c2ca6cb6d502a Modified Files -------------- pgadmin/schema/pgDatabase.cpp | 96 +++++++++++++++++++++-------------------- 1 files changed, 49 insertions(+), 47 deletions(-) -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers