projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50999a8
)
Remove CHECKPOINT call from pgbench -- Not needed and affects performance.
author
Bruce Momjian
<bruce@momjian.us>
Mon, 18 Feb 2002 05:46:41 +0000
(
05:46
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Mon, 18 Feb 2002 05:46:41 +0000
(
05:46
+0000)
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index e95bbd7dddc7c6bf81ff9111fc6fc9d34967d1e5..1d3a92091dc37be2e7e2d9a874d6a200851bdc6d 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-548,16
+548,6
@@
init()
fprintf(stderr, "PQendcopy failed\n");
exit(1);
}
-
- /*
- * do a checkpoint to purge the old WAL logs
- */
- res = PQexec(con, "checkpoint");
- if (PQresultStatus(res) != PGRES_COMMAND_OK)
- {
- fprintf(stderr, "%s", PQerrorMessage(con));
- exit(1);
- }
}
}