Re: Errno checks for rmtree() - Mailing list pgsql-patches

From Tom Lane
Subject Re: Errno checks for rmtree()
Date
Msg-id 24813.1108257965@sss.pgh.pa.us
Whole thread Raw
In response to Re: Errno checks for rmtree()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Errno checks for rmtree()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, so you just wanted _an_ error string to be printed on failure rather
> than the reasons.

Well, what we want to know is the particular file that couldn't be
deleted and the errno code.  This is all "can't happen" stuff and so
it just has to be a message that is useful for debugging; I don't see
that it has to be amazingly user-friendly.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Errno checks for rmtree()
Next
From: Bruce Momjian
Date:
Subject: Re: Errno checks for rmtree()