"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