un-uglify indentation of ExecLockUpdateTuple in nodeModifyTable.c insert_on_conflict
authorAndres Freund <[email protected]>
Tue, 21 Apr 2015 14:43:36 +0000 (16:43 +0200)
committerAndres Freund <[email protected]>
Tue, 21 Apr 2015 14:43:36 +0000 (16:43 +0200)
src/backend/executor/nodeModifyTable.c

index 726892587fdb8ff02596b75be169259a8e31a63c..c541537a827416d59411bdaa5c35b7eec12951ad 100644 (file)
@@ -340,14 +340,10 @@ vlock:
                 * prepared to retry in the event of a concurrent UPDATE/DELETE
                 * to conflict tuple.
                 */
-               if (spec == SPEC_INSERT && !ExecLockUpdateTuple(resultRelInfo,
-                                                               &conflictTid,
-                                                               planSlot,
-                                                               slot,
-                                                               onConflict,
-                                                               estate,
-                                                               canSetTag,
-                                                               &returning))
+               if (spec == SPEC_INSERT &&
+                   !ExecLockUpdateTuple(resultRelInfo, &conflictTid,
+                                        planSlot, slot, onConflict,
+                                        estate, canSetTag, &returning))
                    goto vlock;
 
                /*