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(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера