pgsql: Remove CommandCounterIncrement() after processing ON COMMITDELE - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove CommandCounterIncrement() after processing ON COMMITDELE
Date
Msg-id E1gMMC6-0001xN-Ib@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove CommandCounterIncrement() after processing ON COMMIT DELETE

This comes from f9b5b41, which is part of one the original commits that
implemented ON COMMIT actions.  By looking at the truncation code, any
CCI needed happens locally when rebuilding indexes, so it looks safe to
just remove this final incrementation.

Author: Michael Paquier
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/20181109024731.GF2652@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/52b70b1c7df5929465cf3dd8f4798e6f2e204f61

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Simplify null-element handling in extension_config_remove().
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix possible buffer overrun in hba.c.