pgAdmin 4 commit: Better handling the non-ascii characters for differen

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Better handling the non-ascii characters for differen
Date: 2017-03-02 09:39:54
Message-ID: E1cjNDG-0005qM-Tw@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Better handling the non-ascii characters for different database objects.

Using 'psycopg2.extensions.UNICODE' (for Python < 3) in the psycopg2
driver for proper conversation of unicode characters. Also - adjusted
the string typecaster to take care of different character types (char,
character, text, name, character varying, and their array types).

Reviewed by: Dave Page, Murtuza Zabuawala & Akshay Joshi

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ffa8d94e76be344429b57fd88ccfe5b224fdd136
Author: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>

Modified Files
--------------
.../server_groups/servers/databases/__init__.py | 8 +-
.../servers/databases/casts/__init__.py | 25 +++---
.../servers/databases/event_triggers/__init__.py | 46 +++++-----
.../databases/foreign_data_wrappers/__init__.py | 5 +-
.../foreign_servers/__init__.py | 4 +-
.../foreign_servers/user_mapping/__init__.py | 4 +-
.../servers/databases/schemas/__init__.py | 8 +-
.../databases/schemas/collations/__init__.py | 5 +-
.../servers/databases/schemas/domains/__init__.py | 7 +-
.../schemas/domains/domain_constraints/__init__.py | 7 +-
.../databases/schemas/foreign_tables/__init__.py | 8 +-
.../schemas/fts_configurations/__init__.py | 26 +++---
.../databases/schemas/fts_dictionaries/__init__.py | 25 +++---
.../templates/fts_dictionary/sql/default/sql.sql | 8 +-
.../databases/schemas/fts_parser/__init__.py | 24 +++--
.../templates/fts_parser/sql/default/sql.sql | 8 +-
.../databases/schemas/fts_templates/__init__.py | 12 +--
.../templates/fts_template/sql/default/sql.sql | 8 +-
.../databases/schemas/functions/__init__.py | 39 ++------
.../servers/databases/schemas/packages/__init__.py | 4 +-
.../schemas/packages/edbfuncs/__init__.py | 4 +-
.../databases/schemas/packages/edbvars/__init__.py | 8 +-
.../servers/databases/schemas/tables/__init__.py | 37 ++++----
.../constraints/check_constraint/__init__.py | 4 +-
.../constraints/exclusion_constraint/__init__.py | 4 +-
.../tables/constraints/foreign_key/__init__.py | 85 +++++++++---------
.../constraints/index_constraint/__init__.py | 73 +++++++--------
.../databases/schemas/tables/indexes/__init__.py | 45 +++++-----
.../schemas/tables/templates/rules/sql/create.sql | 4 +-
.../databases/schemas/tables/triggers/__init__.py | 71 +++++++--------
.../servers/databases/schemas/types/__init__.py | 4 +-
.../servers/databases/schemas/views/__init__.py | 19 +++-
.../server_groups/servers/tablespaces/__init__.py | 5 +-
web/pgadmin/utils/driver/psycopg2/__init__.py | 100 ++++++++++++++++++---
34 files changed, 364 insertions(+), 380 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-02 10:15:31 Re: [patch] Test dependencies and screenshots
Previous Message Dave Page 2017-03-02 09:18:50 pgAdmin 4 commit: Move another test-only dependency to web/regression/r