Defend against crash while processing Describe Statement or Describe Portal

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b1ea82fee14c457a76ac65efca58155240dab950
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-12-14T17:07:00Z
Releases: 7.4.11
Defend against crash while processing Describe Statement or Describe Portal
messages, when client attempts to execute these outside a transaction (start
one) or in a failed transaction (reject message, except for COMMIT/ROLLBACK
statements which we can handle).  Per report from Francisco Figueiredo Jr.

Files

PathChange+/−
src/backend/commands/prepare.c modified +25 −1
src/backend/tcop/postgres.c modified +51 −2
src/include/commands/prepare.h modified +2 −1