OSDN Git Service

Defend against crash while processing Describe Statement or Describe Portal
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Dec 2005 17:06:28 +0000 (17:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Dec 2005 17:06:28 +0000 (17:06 +0000)
commit4ce6be4f5e1e4b0c89c5c8de179e3fa8216a7b54
treeaa97d6ee837e6fa5834da31defd3fd69f872b8fc
parent426292663acb30bdd8381eae4058e8ffcbf12162
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.
src/backend/commands/prepare.c
src/backend/tcop/postgres.c
src/include/commands/prepare.h