Hello 2010/8/29 Marko Tiikkaja <marko.tiikk...@cs.helsinki.fi>: > On 29 Aug 2010, at 13:20, Pavel Stehule <pavel.steh...@gmail.com> wrote: >> >> Is strange - so slow function can be replaced by plpgsql function and >> it's faster > > All your SQL language functions were VOLATILE. >
It's not a problem - planner see inside SQL function - so you don't need set a flags. Regards Pavel Stehule > > Regards, > Marko Tiikkaja > -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers