Re: Tablespace for temporary objects and sort files

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Albert Cervera Areny" <albertca(at)hotpop(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Tablespace for temporary objects and sort files
Date: 2007-01-08 05:27:41
Message-ID: c2d9e70e0701072127y668e4744ke1462c697c787a32@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On 1/5/07, Albert Cervera Areny <albertca(at)hotpop(dot)com> wrote:
> Here's a new version that takes into account the SELECT INTO TEMP case. Thanks
> Jaime!
>

ok. seems good to me...

> What other temporary objects do you think should be considered?
>

sorry for the noise, seems i'm thinking on other dbms... i really
thought sequences use tablespaces but it seems i was wrong...

maybe once this patch is applied you can think on make indexes and
[temp] sequences on temp tables use the same temp_tablespace that
table is using...

> Any other comments on the patch?
>

yes. there are 2 things missing:

the first one is put temp_tablespaces in postgresql.conf and/or making
it a per database parameter (i don't think it should be a per user
parameter)

the second are docs... ;)

--
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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2007-01-08 08:57:21 Re: [HACKERS] SGML index build fix
Previous Message Bruce Momjian 2007-01-08 04:10:03 Re: [HACKERS] SGML index build fix