[pgAdmin4][psycopg2] - poll function local variable reference error - Mailing list pgadmin-hackers

From Neel Patel
Subject [pgAdmin4][psycopg2] - poll function local variable reference error
Date
Msg-id CACCA4P0KHDD3gCKmMbBkvRKxgp9Rx91KTYxjfVX=XHEsJfthCg@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][psycopg2] - poll function local variable reference error
List pgadmin-hackers
Hi,

During the debugger implementation, we came to know that "poll()" function is getting failed when the status is not equal to "ASYNC_OK". We are getting the below error at python side.

"UnboundLocalError: local variable 'colinfo' referenced before assignment"


Attached is the patch that resolves the above error.

Do review it and let us know for comments.

Thanks,
Neel Patel
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Adding to Documentation
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix PIP packaging code so it works nicely on Linux an