Re: Tablespace for temporary objects and sort files - Mailing list pgsql-patches

From Jaime Casanova
Subject Re: Tablespace for temporary objects and sort files
Date
Msg-id c2d9e70e0701092033y2b1cd461u55b591f820105463@mail.gmail.com
Whole thread Raw
In response to Re: Tablespace for temporary objects and sort files  (Albert Cervera Areny <albertca@hotpop.com>)
Responses Re: [PATCHES] Tablespace for temporary objects and sort files  (Albert Cervera Areny <albertca@hotpop.com>)
List pgsql-patches
On 1/9/07, Albert Cervera Areny <albertca@hotpop.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...

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: gendef fixes
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Load distributed checkpoint patch