From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Remove sort files |
Date: | 2001-05-23 00:36:14 |
Message-ID: | 200105230036.f4N0aE816155@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
We have the TODO item:
* Remove unused files during database vacuum or postmaster startup
The following patch places sort files in a separate directory (created
when first needed), and removes old sort files on postmaster startup.
The only unusual part is the use of system("find...rm...") to remove the
files in pg_sorttemp. Seemed cleaner than doing fancy directory
walking code in C.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 3.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Richards | 2001-05-23 00:48:38 | Re: Remove sort files |
Previous Message | Thomas Lockhart | 2001-05-22 23:18:48 | Re: JDBC commit to 7.1.2 |