Re: function call - Mailing list pgsql-sql

From Marcin Krawczyk
Subject Re: function call
Date
Msg-id CABnqL33jQ_CzxkArfK1eH7ci1+qek6Q34YqiZX=FA3hA249=ew@mail.gmail.com
Whole thread Raw
In response to Re: function call  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: function call
List pgsql-sql
I wish I was doing that :) that's the first thing I checked.


pozdrowienia
mk


2014-08-11 21:01 GMT+02:00 Adrian Klaver <adrian.klaver@aklaver.com>:
On 08/11/2014 02:50 AM, Marcin Krawczyk wrote:
I've managed to determine that there's a trigger dependency tree that
slows things down. When I DISABLE one of them the function takes under
30 seconds, still more than from pgAdmin but much quicker than before.

I am with David. I am not sure you are calling the same function in each case.

Are you sure you have not overloaded the function name and a difference in search_paths is not causing a different version to be run?



regards
mk



--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-sql by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: High memory usage / performance issue ( temp tables ? )
Next
From: gmb
Date:
Subject: Re: High memory usage / performance issue ( temp tables ? )