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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group