public inbox for [email protected]  
help / color / mirror / Atom feed
From: Akshay Joshi <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Improved performance while fetching edit types for ea
Date: Mon, 16 Dec 2019 13:20:38 +0000
Message-ID: <[email protected]> (raw)

Improved performance while fetching edit types for each column.

Edit types query is executed for every column when open properties dialog of the table.
Change the logic to fetch the edit types for all the distinct column types used in the table at once.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ded71be73f219884fe3e4a21adc7aef8fb63...
Author: Aditya Toshniwal <[email protected]>

Modified Files
--------------
.../databases/schemas/tables/columns/__init__.py   |  5 ++-
.../databases/schemas/tables/columns/utils.py      | 37 ++++++++++++----------
.../columns/sql/default/edit_mode_types_multi.sql  | 13 ++++++++
.../columns/sql/default/is_referenced.sql          |  6 ----
4 files changed, 37 insertions(+), 24 deletions(-)



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], [email protected]
  Subject: Re: pgAdmin 4 commit: Improved performance while fetching edit types for ea
  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