Silence minor compiler warnings.
Tom Lane <tgl@sss.pgh.pa.us>
Silence minor compiler warnings. Ensure that ClassifyUtilityCommandAsReadOnly() has defined behavior even if TransactionStmt.kind has a value that's not one of the declared values for its enum. Suppress warnings from compilers that don't know that elog(ERROR) doesn't return, in ClassifyUtilityCommandAsReadOnly() and jsonb_set_lax(). Per Coverity and buildfarm.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/utility.c | modified | +6 −3 |
| src/backend/utils/adt/jsonfuncs.c | modified | +1 −0 |