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

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:22
Message-ID: 20060813221822.EA2119FB2AC@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/tcop:
postgres.c (r1.468.2.5 -> r1.468.2.6)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.468.2.5&r2=1.468.2.6)

Browse pgsql-committers by date

  From Date Subject
Next Message User Jbcooley 2006-08-14 00:05:44 npgsql - Npgsql: 2006-08-13 Josh Cooley <jbnpgsql@tuxinthebox.net>
Previous Message Tom Lane 2006-08-13 22:18:08 pgsql: Fix core dump in duration logging for a V3-protocol Execute