Re: mdtruncate leaking fd.c handles? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: mdtruncate leaking fd.c handles?
Date
Msg-id 8539.1473374396@sss.pgh.pa.us
Whole thread Raw
In response to mdtruncate leaking fd.c handles?  (Andres Freund <andres@anarazel.de>)
Responses Re: mdtruncate leaking fd.c handles?
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Am I missing something or is md.c:mdtruncate() leaking open files?

Yeah, I think you're right.

> This only really matters for VACUUM truncate and ON COMMIT TRUNCATE temp
> table truncation afaics.

Also, you'd need a table > 1GB to leak anything at all, which probably
helps explain why it hasn't been noticed.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: mdtruncate leaking fd.c handles?
Next
From: Andres Freund
Date:
Subject: Re: mdtruncate leaking fd.c handles?