mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Dial back -Wimplicit-fallthrough to level 3
The additional pain from level 4 is excessive for the gain. Also revert all the source annotation changes to their original wordings, to avoid back-patching pain. Discussion: https://postgr.es/m/31166.1589378554@sss.pgh.pa.us
This commit is contained in:
@ -12467,7 +12467,7 @@ ATExecChangeOwner(Oid relationOid, Oid newOwnerId, bool recursing, LOCKMODE lock
|
||||
case RELKIND_TOASTVALUE:
|
||||
if (recursing)
|
||||
break;
|
||||
/* FALLTHROUGH */
|
||||
/* FALL THRU */
|
||||
default:
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
|
@ -3877,7 +3877,7 @@ AfterTriggerExecute(EState *estate,
|
||||
trig_tuple_slot2))
|
||||
elog(ERROR, "failed to fetch tuple2 for AFTER trigger");
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
/* fall through */
|
||||
case AFTER_TRIGGER_FDW_REUSE:
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user