Wojciech Knapik escreveu:
>
> Euler Taveira de Oliveira wrote:
>
>>> PS. This issue is not related to the loading time of dictionaries, or
>>> calls to ts_headline for results that won't be displayed.
>>
>> So what? Could you post the profiling of that query?
>
I was talking about gprof (--enable-profiling), oprofile [1] or similar tools.
But it seems the slow step is the sort one.
[1] http://wiki.postgresql.org/wiki/Profiling_with_OProfile
--
Euler Taveira de Oliveira
http://www.timbira.com/