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: 2006-10-27 04:42:17
Message-ID: c2d9e70e0610262142t56880f50y87b253c20660fa38@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On 10/25/06, Jaime Casanova <systemguards(at)gmail(dot)com> wrote:
> On 10/24/06, Albert Cervera Areny <albertca(at)hotpop(dot)com> wrote:
> > I'm trying to introduce myself into postgresql development and I'm working on
> > the "tablespace for temporary objects and sort files" TODO item.
>
>
> Now, PG_TEMP_FILES_DIR seems to add just pgsql_temp to the filename. i
> think you the function you have to modify here is
> make_database_relative() that adds base/#database_oid# at the
> beginning of the path of the file.
>

some tests shows that your patch is doing the wrong thing for temp
files, actually the server is crashing

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

Browse pgsql-patches by date

  From Date Subject
Next Message Alexey Zayats 2006-10-27 07:41:05 BUG #2724: Could not check connection status with "ssl=on"
Previous Message Chris Campbell 2006-10-27 00:27:31 Re: Deadlock with pg_dump?