Re: Remove sort files - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Remove sort files
Date
Msg-id 200105231752.f4NHqrs21595@candle.pha.pa.us
Whole thread Raw
In response to Re: Remove sort files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Remove sort files  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Remove sort files  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> One reasonable idea is
> >> cd pg_sorttemp ; rm -f *
>
> > OK, here is the new 'find' line:
>
> No, the point is not to use find at all.

Actually, I can do:

    rm -f */pg_sorttemp/*

New command is:

    snprintf(clear_pg_sorttemp, sizeof(clear_pg_sorttemp),
            "rm -f \"%s\"/base/*/pg_sorttemp/*",
            DataDir);

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

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