Skip site navigation (1) Skip section navigation (2)

Re: Remove sort files

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Remove sort files
Date: 2001-05-23 18:08:26
Message-ID: Pine.LNX.4.30.0105232000150.757-100000@peter.localdomain (view raw or flat)
Thread:
Lists: 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(at)gmx(dot)net   http://funkturm.homeip.net/~peter


Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2001-05-23 18:13:44
Subject: Re: Remove sort files
Previous:From: Tom LaneDate: 2001-05-23 18:02:58
Subject: Re: Remove sort files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group