Use the same cursor object of a connection object only from the same server.
Current implementation keeps the cursor object in the 'g' (current request context) object identified by the connection-id. But - it fails to identify a different connection object request, when we have same database name in different database server, it does not able to identify it as separate request, Hence - now we will use server-id qualified identifier for the same object. Thanks Neel Patel for pointing out the issue. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7f790a7f4965bb0f0908127be2f554b5a4323a60 Modified Files -------------- web/pgadmin/utils/driver/psycopg2/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers