orafce - orafce: Fix memory management in ora_salloc().

From: hlinnaka(at)pgfoundry(dot)org (User Hlinnaka)
To: pgsql-committers(at)postgresql(dot)org
Subject: orafce - orafce: Fix memory management in ora_salloc().
Date: 2010-05-05 11:44:18
Message-ID: 20100505114418.6FBF310715CD@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix memory management in ora_salloc(). Calling ora_salloc() repeatedly
until out-of-memory used to crash sometimes, because we failed to
reinitialize min_max and select variables after defragmentation.
Defragmentation could render the old values invalid.

Modified Files:
--------------
orafce:
shmmc.c (r1.15 -> r1.16)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/orafce/orafce/shmmc.c?r1=1.15&r2=1.16)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2010-05-05 13:46:26 Re: pgsql: Fix backpatching error in recent patch for ALTER USER f RESET ALL
Previous Message Tom Lane 2010-05-05 02:55:13 pgsql: Fix backpatching error in recent patch for ALTER USER f RESET ALL