pgAdmin 4 commit: Added support for qtIdent, qtTypeIdent, qtLiteral for

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема pgAdmin 4 commit: Added support for qtIdent, qtTypeIdent, qtLiteral for
Дата
Msg-id E1aFIQA-0007dv-Mn@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Added support for qtIdent, qtTypeIdent, qtLiteral for quoting the
inputs.

In order to do the proper quoting around the identifier, different type,
and literal, we introduced respective functions qtIdent, qtTypeIdent,
qtLiteral in psycopg2 driver. Also, introduced them as the Jinja's
custom filter for using it directly inside the templates.

Also, created an utility - generate_keywords.py in order to generate
keyword lists from the latest PostgreSQL installation.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2aeae0688298da8a555887a3383d41e9f51170fc

Modified Files
--------------
.../browser/server_groups/servers/__init__.py      |  13 +++
web/pgadmin/utils/driver/__init__.py               |  12 ++-
web/pgadmin/utils/driver/psycopg2/__init__.py      | 118 +++++++++++++++++++++
.../utils/driver/psycopg2/generate_keywords.py     |  61 +++++++++++
web/pgadmin/utils/driver/psycopg2/keywords.py      |  15 +++
5 files changed, 216 insertions(+), 3 deletions(-)


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

Предыдущее
От: Dmitriy Olshevskiy
Дата:
Сообщение: Re: patch: fix to use ``pg_get_functiondef()``
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Introduced an ajax response 'not_implemented' with HT