Re: Remove sort files - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Remove sort files
Date
Msg-id Pine.LNX.4.30.0105232000150.757-100000@peter.localdomain
Whole thread Raw
In response to Re: Remove sort files  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Remove sort files
List pgsql-patches
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?

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove sort files
Next
From: Tom Lane
Date:
Subject: Re: Remove sort files