pgsql: Fix core dump in duration logging for a V3-protocol Execute

Lists: pgsql-committers
From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix core dump in duration logging for a V3-protocol Execute
Date: 2006-08-13 22:18:08
Message-ID: 20060813221808.D93C39FB200@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Fix core dump in duration logging for a V3-protocol Execute message
when what's being executed is a COMMIT or ROLLBACK. Per report from
Sergey Koposov. Backpatch to 8.1; 8.0 and before don't have the bug
due to lack of any logging at all here.

Modified Files:
--------------
pgsql/src/backend/tcop:
postgres.c (r1.497 -> r1.498)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.497&r2=1.498)