pgsql: Don't putenv() a string that is allocated in a context that will

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't putenv() a string that is allocated in a context that will
Date: 2008-01-30 04:11:19
Message-ID: 20080130041119.6C909754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't putenv() a string that is allocated in a context that will go away
soon. I suspect this explains bug #3902, though I'm still not able to
reproduce that.

Modified Files:
--------------
pgsql/src/backend/libpq:
auth.c (r1.162 -> r1.163)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/auth.c?r1=1.162&r2=1.163)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-30 04:34:22 press - pr: Corrections from Christian Kuroki -- thanks.
Previous Message User Aglio 2008-01-30 00:28:45 press - pr: final update to dates