On Mon, 12 Jun 2006, Tom Lane wrote:

> "Qingqing Zhou" <[EMAIL PROTECTED]> 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).

True, but current code just check the return value of AllocateABC() then
decide to upgrade elevel to FATAL. This is ok if we allow AllocateABC()
don't elog(ERROR) themselves.


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?


Reply via email to