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 c2d9e70e0612241049j6481adear778ab84e35d667fc@mail.gmail.com
Whole thread Raw
In response to Tablespace for temporary objects and sort files  (Albert Cervera Areny <albertca@hotpop.com>)
List pgsql-patches
On 12/24/06, Albert Cervera Areny <albertca@hotpop.com> wrote:
> Hi,
>        yes I'm working on it. I've got a more recent version that doesn't crash on
> initdb and works with sort files. I've got a couple of things pending and
> will post it as soon as I can. If you want I could make a diff and send it to
> you in case you wanted to test/improve the patch.
>        Refering to some of the comment I never answered (sorry about that) I prefer
> to use GetTempTablespace() as I think it's easier to read/understand than
> GetDefaultTablespace(true).
>        And thanks for pointing to temporary indexes. There seems not to be temporary
> indexes but indexes of temporary tables, which could use GetTempTablespace()
> too...
>

yeah, it was late and i was almost asleep... i was thinking in
temporary sequences, but indexes on temporary tables it's not a bad
idea too...
that was the reason i think it's better to use the same
GetDefaultTablespace() function it's less intrussive and is not
directed to one particular object but all temp objects can benefit...

i will wait your patch when you think is ready for discussion...

--
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: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #2846: inconsistent and confusing handling of
Next
From: Jeremy Drake
Date:
Subject: psql \lo_* quiet mode patch