On Sun, Jul 13, 2008 at 11:59 PM, Ramasubramanian <[EMAIL PROTECTED]> wrote: > > Hi All, > I am having a trigger in table, If i update the the table manually it is > not taking time(say 200ms per row), But if i update the table through > procedure the trigger is taking time to fire(say 7 to 10 seconds per row). > > How can i make the trigger to fire immediately ?
I'm thinking the user defined function is using a cached query plan. Try using execute to see if it runs faster that way. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance