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

Re: minor fix of elevel in fd.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: minor fix of elevel in fd.c
Date: 2006-06-12 13:47:21
Message-ID: 9191.1150120041@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
"Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)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

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-06-12 16:09:12
Subject: Re: Fix for Win32 division involving INT_MIN
Previous:From: Qingqing ZhouDate: 2006-06-12 05:56:48
Subject: minor fix of elevel in fd.c

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