mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix a cleanup SQL query to enable running feature tests on CI against Greenplum.
This commit is contained in:
parent
6152d73f13
commit
66815643a9
@ -184,7 +184,7 @@ def drop_database(connection, database_name):
|
||||
)
|
||||
else:
|
||||
pg_cursor.execute(
|
||||
"SELECT pg_cancel_backend(procpid) FROM pg_stat_activity " \
|
||||
"SELECT pg_terminate_backend(procpid) FROM pg_stat_activity " \
|
||||
"WHERE pg_stat_activity.datname ='%s' AND current_query='<IDLE>';" % database_name
|
||||
)
|
||||
pg_cursor.execute("SELECT * FROM pg_database db WHERE"
|
||||
|
Loading…
Reference in New Issue
Block a user