Re: PATCH: PGADMIN 4 - FTS templates node

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: PATCH: PGADMIN 4 - FTS templates node
Дата
Msg-id CA+OCxoxtJ5hqAzVADHP-+49PCFqb-xiSeQtGfYjSeK2wcKvnmA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PATCH: PGADMIN 4 - FTS templates node  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
Ответы Re: PATCH: PGADMIN 4 - FTS templates node  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
Список pgadmin-hackers
Hi

On Mon, Mar 28, 2016 at 10:01 AM, Sanket Mehta
<sanket.mehta@enterprisedb.com> wrote:
> Hi Dave,
>
> I have found out the root cause of this issue.
>
> This issue is occurring at your side as you are using python 2.7 so in that
> case sql query returned from sql template is of type 'unicode'.
> And in __init__.py file we have checked if the sql query is of string type
> then only we would proceed further.
>
> I was not getting this issue as I was using python 3.0
>
> I have resolved this issue and some other typo errors in comments and patch
> is attached with this mail.
>
> Please do review it and let me know in case of any issues.

Did you send the right patch? I'm still getting the error
(specifically, when rendering update.sql, render_template throws an
exception "can't adapt type 'Undefined'")

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

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


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

Предыдущее
От: Surinder Kumar
Дата:
Сообщение: [pgAdmin4][Patch] - Disable PrivilegeControl for nodes visible under catalog
Следующее
От: Surinder Kumar
Дата:
Сообщение: Re: [pgAdmin4][Patch]: Tables Sub nodes(Columns, Indexes, rules & triggers) Patch