mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -8436,7 +8436,7 @@ ExecSetVariableStmt(VariableSetStmt *stmt, bool isTopLevel)
|
||||
case VAR_SET_DEFAULT:
|
||||
if (stmt->is_local)
|
||||
WarnNoTransactionBlock(isTopLevel, "SET LOCAL");
|
||||
/* FALLTHROUGH */
|
||||
/* fall through */
|
||||
case VAR_RESET:
|
||||
if (strcmp(stmt->name, "transaction_isolation") == 0)
|
||||
WarnNoTransactionBlock(isTopLevel, "RESET TRANSACTION");
|
||||
|
Reference in New Issue
Block a user