Hi Hackers, Attached patch which is related to RM4988, reduces the number of hits to edit_mode_types.sql (an expensive one). Currently, this is query is executed for every column one by one when table properties dialog is opened. I've added edit_mode_types_bulk.sql, which will fetch the edit types for all the distinct column types used in the table in a single DB trip and use that data for each column. Also, while generating RE-SQL for columns, edit_mode_types.sql will not be executed. This will definitely reduce time.
Kindly review. -- Thanks and Regards, Aditya Toshniwal Sr. Software Engineer | EnterpriseDB India | Pune "Don't Complain about Heat, Plant a TREE"
RM4988.edit_types.patch
Description: Binary data