Re: [HACKERS] Re: Nasty resource-leak problem in sort code - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: Nasty resource-leak problem in sort code
Date
Msg-id 199905072301.TAA14256@candle.pha.pa.us
Whole thread Raw
In response to Re: Nasty resource-leak problem in sort code  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> This will fix several problems, including (a) failure to release file
> descriptors after an error; (b) failure to delete temp files after
> an error; (c) risk of running out of FDs if multiple sorts are invoked
> concurrently (not sure if this can actually happen in the current state
> of the code).  Centralizing the generation of temp file names in one
> place seems like a good idea too.
> 
> Unless I hear objections, I'll work on this this weekend.

This sounds like a good plan.

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Hashjoin status report
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: Nasty resource-leak problem in sort code]