pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove CommandCounterIncrement() after processing ON COMMIT DELE
Date: Tue, 13 Nov 2018 00:04:38 +0000
Message-ID: <E1gMMC6-0001xN-Ib@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1gMMC6-0001xN-Ib@gemulon.postgresql.org>
Permalink:  ../E1gMMC6-0001xN-Ib@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gMMC6-0001xN-Ib@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Remove CommandCounterIncrement() after processing ON COMMIT DELE
  In-Reply-To: <E1gMMC6-0001xN-Ib@gemulon.postgresql.org>
  References: <E1gMMC6-0001xN-Ib@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox