pgAdmin 4 commit: Typecast the object to 'text' before using it in leng

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Typecast the object to 'text' before using it in leng
Date: 2020-05-06 12:04:48
Message-ID: E1jWInA-00005V-RG@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Typecast the object to 'text' before using it in length() function, so that correct length function gets called.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a0940fd1456fa4962c4e35972d188b456d3e4a6a

Modified Files
--------------
.../templates/catalog_object_column/sql/default/properties.sql | 2 +-
.../templates/collations/sql/default/get_collations.sql | 4 ++--
.../domains/templates/domains/sql/9.2_plus/get_collations.sql | 2 +-
.../schemas/domains/templates/domains/sql/9.2_plus/properties.sql | 2 +-
.../domains/templates/domains/sql/default/get_collations.sql | 2 +-
.../schemas/domains/templates/domains/sql/default/properties.sql | 2 +-
.../templates/foreign_tables/sql/9.2_plus/get_collations.sql | 2 +-
.../templates/foreign_tables/sql/9.2_plus/get_columns.sql | 2 +-
.../templates/foreign_tables/sql/9.5_plus/get_columns.sql | 2 +-
.../templates/foreign_tables/sql/default/get_collations.sql | 2 +-
.../templates/fts_configurations/sql/default/properties.sql | 2 +-
.../schemas/tables/templates/columns/sql/10_plus/properties.sql | 2 +-
.../schemas/tables/templates/columns/sql/12_plus/properties.sql | 2 +-
.../schemas/tables/templates/columns/sql/9.1_plus/properties.sql | 2 +-
.../tables/templates/columns/sql/9.2_plus/get_collations.sql | 4 ++--
.../schemas/tables/templates/columns/sql/9.2_plus/properties.sql | 2 +-
.../tables/templates/columns/sql/default/get_collations.sql | 4 ++--
.../templates/exclusion_constraint/sql/11_plus/properties.sql | 2 +-
.../templates/exclusion_constraint/sql/default/properties.sql | 2 +-
.../tables/templates/index_constraint/sql/11_plus/properties.sql | 2 +-
.../tables/templates/index_constraint/sql/default/properties.sql | 2 +-
.../tables/templates/indexes/sql/11_plus/column_details.sql | 2 +-
.../tables/templates/indexes/sql/default/column_details.sql | 2 +-
.../tables/templates/indexes/sql/default/get_collations.sql | 4 ++--
.../schemas/tables/templates/indexes/sql/default/properties.sql | 4 ++--
.../tables/templates/partitions/sql/gpdb/5_plus/properties.sql | 2 +-
.../tables/templates/partitions/sql/pg/10_plus/properties.sql | 2 +-
.../tables/templates/partitions/sql/pg/12_plus/properties.sql | 2 +-
.../tables/templates/partitions/sql/ppas/10_plus/properties.sql | 2 +-
.../tables/templates/partitions/sql/ppas/12_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/10_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/11_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/12_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/9.1_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/9.6_plus/properties.sql | 2 +-
.../schemas/tables/templates/tables/sql/default/properties.sql | 2 +-
.../tables/templates/tables/sql/gpdb_5.0_plus/properties.sql | 2 +-
.../schemas/types/templates/types/sql/default/get_collations.sql | 4 ++--
.../types/templates/types/sql/default/get_external_functions.sql | 8 ++++----
.../schemas/types/templates/types/sql/default/get_subtypes.sql | 6 +++---
.../schemas/views/templates/mviews/pg/9.3_plus/sql/properties.sql | 2 +-
.../schemas/views/templates/mviews/pg/9.4_plus/sql/properties.sql | 2 +-
.../views/templates/mviews/ppas/9.3_plus/sql/properties.sql | 2 +-
.../views/templates/views/gpdb_5.0_plus/sql/properties.sql | 2 +-
.../schemas/views/templates/views/pg/9.1_plus/sql/properties.sql | 2 +-
.../schemas/views/templates/views/pg/9.2_plus/sql/properties.sql | 2 +-
.../schemas/views/templates/views/pg/9.3_plus/sql/properties.sql | 2 +-
.../schemas/views/templates/views/pg/9.4_plus/sql/properties.sql | 2 +-
.../views/templates/views/ppas/9.1_plus/sql/properties.sql | 2 +-
.../views/templates/views/ppas/9.2_plus/sql/properties.sql | 2 +-
.../views/templates/views/ppas/9.3_plus/sql/properties.sql | 2 +-
.../views/templates/views/ppas/9.4_plus/sql/properties.sql | 2 +-
52 files changed, 63 insertions(+), 63 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Nagaraj Raj 2020-05-06 23:27:58 pgAdmin is not redirecting to /browser
Previous Message Aditya Toshniwal 2020-05-06 10:05:12 Re: [pgAdmin][RM5398] Bad display of tables storage parameters in the "SQL" tab