pgsql: Remove CommandCounterIncrement() after processing ON COMMIT DELE

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove CommandCounterIncrement() after processing ON COMMIT DELE
Date: 2018-11-13 00:04:38
Message-ID: E1gMMC6-0001xN-Ib@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2018-11-13 03:36:07 pgsql: Fix possible buffer overrun in hba.c.
Previous Message Tom Lane 2018-11-12 16:50:31 pgsql: Simplify null-element handling in extension_config_remove().