Patch for Caching datatypes for dlgColumn
Patch for Caching datatypes for dlgColumn
Hi all, For the TODO item: * Cache datatypes used by dlgColumn as reloading them when adding multiple columns to a new table can be slow over WANs. Attached is a patch for it. Please give your comments on it. -- Regards, Sachin Srivastava www.enterprisedb.com
Re: Patch for Caching datatypes for dlgColumn
От:
Dave Page <dpage@pgadmin.org>
Дата:
On Mon, Jul 6, 2009 at 10:32 AM, Sachin Srivastava wrote: > Hi all, > > For the TODO item: > > * Cache datatypes used by dlgColumn as reloading them when adding multiple > columns to a new table can be slow over WANs. > > Attached is a patch for it. Please give your comments on it. Thanks, patch applied. I made a couple of minor changes - it was suffering from type/module variable/function parameter naming confusion. It now uses 'dataTypeCache' for the type, 'dtCache' for the module variables, and 'cache' for the function parameters. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com