Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of
Date
Msg-id 11955.1181231055@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of  ("Jaime Casanova" <systemguards@gmail.com>)
List pgsql-hackers
"Jaime Casanova" <systemguards@gmail.com> writes:
> On 6/4/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Perhaps a reasonable compromise could work like this: at the first point
>> in a transaction where a temp file is created, choose a random list
>> element, and thereafter advance cyclically for the duration of that
>> transaction.

> ok. are you doing this? or can i prepare a patch that implements this?
> i guess we can allocate the memory for the list in TopTransactionContext.

I'll work on it ... I want to rejigger the API between fd.c and
tablespace.c anyway.  (fd.c still shouldn't be calling tablespace.c ...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuuming anything zeroes shared table stats
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Autovacuum launcher doesn't notice death of postmaster immediately