Defend against crash while processing Describe Statement or Describe Portal
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/prepare.c | modified | +25 −1 |
| src/backend/tcop/postgres.c | modified | +50 −1 |
| src/include/commands/prepare.h | modified | +2 −1 |