Re: [PATCHES] Tablespace for temporary objects and sort files

From: Albert Cervera Areny <albertca(at)hotpop(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] Tablespace for temporary objects and sort files
Date: 2007-01-11 20:02:02
Message-ID: 200701112102.02746.albertca@hotpop.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Please, go on with that, I hadn't seen that problem. Indeed, I read Andrew
answer to your question and I think it's a nice solution.

A Dimecres 10 Gener 2007 05:33, Jaime Casanova va escriure:
> On 1/9/07, Albert Cervera Areny <albertca(at)hotpop(dot)com> wrote:
> > I don't have much time lately so if you're willing to work on it, please
> > do.
>
> after doing the index part i revisited the patch again and saw that
> there is something fundamentally wrong here (sorry for no noticing
> that before :( )
>
> your are using local backend variables for the iterator so two
> different backends will use to different variables... because of that
> if you have 3 temp tablespaces in your temp_tablespaces guc and start
> 100 backend and every one of them create just one temp table those 100
> temp tables will be in the first temp tablespace... :(
>
> i will try to fix that as well... unless you want to do it, just tell me...

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-11 21:09:44 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Previous Message Magnus Hagander 2007-01-11 19:35:30 Re: pthread option of msvc build.