Re: minor fix of elevel in fd.c - Mailing list pgsql-patches

From Tom Lane
Subject Re: minor fix of elevel in fd.c
Date
Msg-id 9191.1150120041@sss.pgh.pa.us
Whole thread Raw
In response to minor fix of elevel in fd.c  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Responses Re: minor fix of elevel in fd.c  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
List pgsql-patches
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> AllocateFile() and AllocateDir() should return the control to the caller
> since we might want to upgrade the elevel.

That is not what we do for upgrading errors.  Use a critical section in
a caller that doesn't want elog(ERROR).

            regards, tom lane

pgsql-patches by date:

Previous
From: "Qingqing Zhou"
Date:
Subject: minor fix of elevel in fd.c
Next
From: Bruce Momjian
Date:
Subject: Re: Fix for Win32 division involving INT_MIN