Hello, Is it possible to somehow analyze function performance? E.g. we are using function cleanup() which takes obviously too much time to execute but I have problems trying to figure what is slowing things down. When I explain analyze function lines step by step it show quite acceptable performance. PostgreSQL 8.0 is running on two dual core Opterons. Thanks, Mindaugas