From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Remove sort files |
Date: | 2001-05-23 18:13:44 |
Message-ID: | 16181.990641624@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Bruce Momjian writes:
>> New command is:
>>
>> snprintf(clear_pg_sorttemp, sizeof(clear_pg_sorttemp),
>> "rm -f \"%s\"/base/*/pg_sorttemp/*",
>> DataDir);
> Why not put all sort files into a common directory and then do a simple
> readdir() loop in C?
I was about to say that the potential portability headaches would be
more trouble than the "feature" is worth. OTOH, I see that xlog.c is
depending on readdir already, so maybe it's OK to use it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-05-23 19:30:03 | ANT fix for jar creation |
Previous Message | Peter Eisentraut | 2001-05-23 18:08:26 | Re: Remove sort files |