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

pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf
Date: 2005-08-08 23:39:02
Message-ID: 20050808233902.18A455290F@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix crash when reading 'timezone = unknown' from postgresql.conf during
SIGHUP; it's not OK for an assign_hook to return a non-malloc'd string.
Problem was introduced during timezone library rewrite.

Modified Files:
--------------
    pgsql/src/backend/commands:
        variable.c (r1.112 -> r1.113)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/variable.c.diff?r1=1.112&r2=1.113)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-08 23:39:14
Subject: pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf
Previous:From: Bruce MomjianDate: 2005-08-08 20:26:54
Subject: pgsql: Done: > o -Allow FOR UPDATE queries to do NOWAIT locks

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