aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2010-10-17 23:08:30 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2010-10-20 11:33:57 -0300
commit17a16663d0c1c70c5c70ba97de6fe2c9c6a3bc07 (patch)
tree6d27e56b59e53ce76453f5b53de3130c12aa0d9c /src
parentc75e1436467f32a06b5ab9d594d2a390e7f4594d (diff)
downloadpostgresql-17a16663d0c1c70c5c70ba97de6fe2c9c6a3bc07.tar.gz
postgresql-17a16663d0c1c70c5c70ba97de6fe2c9c6a3bc07.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xact.c11
1 files changed, 0 insertions, 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();
}
/*