On 2012-01-13 21:14, Frederico wrote:
> Hi folks.
>
> Is there any restriction in create and start threads inside Postgres?
>
> I'm trying to develop a multithread planner, and some times is raised a exception of access memory.
>
> I'm debugging the code to see if is a bug in the planner, but until now, I still not found. I tried to use the same
memorycontext of root process and create a new context to each new thread, but doesn't worked.
>
>
> Any tips?
Not sure if it is of any use to you, but the vldb paper 'Parallelizing
Query Optimization' http://www.vldb.org/pvldb describes a experimental
implementation in PostgreSQL.
regards,
Yeb