Re: [pgAdmin4][psycopg2] - poll function local variable reference error

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgAdmin4][psycopg2] - poll function local variable reference error
Дата
Msg-id CA+OCxoyug0GrUSAyT-1MWcoq8fbm=oGcm4JG4NGhow-hYh0agA@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][psycopg2] - poll function local variable reference error  (Neel Patel <neel.patel@enterprisedb.com>)
Список pgadmin-hackers
Thanks, applied.

On Tue, Mar 15, 2016 at 11:44 AM, Neel Patel
<neel.patel@enterprisedb.com> wrote:
> 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
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Fix a bug in the database drive poll() function where
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Improvements in the form/properties dialog control ge