From 17a16663d0c1c70c5c70ba97de6fe2c9c6a3bc07 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Sun, 17 Oct 2010 23:08:30 -0300 Subject: [PATCH] Remove AtStart_Cache() call in CommandCounterIncrement(). This call was present in the aboriginal code from Berkeley, and has never been touched; it may very well be that it was there to mask effects of bugs in other places and it may no longer be necessary. The removal has been foreseen in a code comment since 2007; this seems to be a good time to test this hypothesis. --- src/backend/access/transam/xact.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index b02db9eb60b..d2e2e119970 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -729,17 +729,6 @@ CommandCounterIncrement(void) */ AtCCI_LocalCache(); } - - /* - * Make any other backends' catalog changes visible to me. - * - * XXX this is probably in the wrong place: CommandCounterIncrement should - * be purely a local operation, most likely. However fooling with this - * will affect asynchronous cross-backend interactions, which doesn't seem - * like a wise thing to do in late beta, so save improving this for - * another day - tgl 2007-11-30 - */ - AtStart_Cache(); } /* -- 2.39.5