public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Added support for qtIdent, qtTypeIdent, qtLiteral for
Date: Sat, 02 Jan 2016 09:24:22 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-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=2aeae0688298da8a555887a3383d41e9f5117...

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(-)


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: pgAdmin 4 commit: Added support for qtIdent, qtTypeIdent, qtLiteral for
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox