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

Re: Errno checks for rmtree()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Errno checks for rmtree()
Date: 2005-02-13 01:26:05
Message-ID: 24813.1108257965@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2005-02-13 01:28:02
Subject: Re: Errno checks for rmtree()
Previous:From: Bruce MomjianDate: 2005-02-13 01:23:56
Subject: Re: Errno checks for rmtree()

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