Thread: [BUGS] BUG #14647: pgAdmin crashed

[BUGS] BUG #14647: pgAdmin crashed

From
bitekas@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      14647
Logged by:          Viktor Korsun
Email address:      bitekas@gmail.com
PostgreSQL version: 9.5.2
Operating system:   Windows
Description:

1. create a database "testme"
2. connect to the database from the pgAdmin client; open it.
3. from a command line client, disconnect all the clients and rename the
database: 

psql.exe -h <hostname> -U <username> -c "select pg_terminate_backend(pid)
from pg_stat_activity where datname='testme'; alter database testme RENAME
to deleting;"

4. goto pgAdmin
5. refresh the database (F5).
6. it will notice that the database connection is closed and will ask to
reconnect.
7. on the first reconnection attempt, the pgadmin crashes.


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs