Defend against crash while processing Describe Statement or Describe Portal

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

Commit: 1200fc58a718406a4ab2e14061ddf144d9b03040
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-12-14T17:06:51Z
Releases: 8.0.6
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 +50 −1
src/include/commands/prepare.h modified +2 −1