projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ccf033
)
aio: prewarm: remove error message that was just a test.
author
Andres Freund
<andres@anarazel.de>
Thu, 28 May 2020 21:46:52 +0000
(14:46 -0700)
committer
Andres Freund
<andres@anarazel.de>
Wed, 24 Jun 2020 23:21:00 +0000
(16:21 -0700)
Author:
Reviewed-By:
Discussion: https://postgr.es/m/
Backpatch:
contrib/pg_prewarm/pg_prewarm.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_prewarm/pg_prewarm.c
b/contrib/pg_prewarm/pg_prewarm.c
index a921c4c63896fd2a6ff417dc9065df79356ef4b0..0ba508aa4dd4c04ef97557cd53360bab0559b7b6 100644
(file)
--- a/
contrib/pg_prewarm/pg_prewarm.c
+++ b/
contrib/pg_prewarm/pg_prewarm.c
@@
-356,8
+356,6
@@
pg_prewarm(PG_FUNCTION_ARGS)
r = (Page) pg_streaming_read_get_next(pgsr);
if (r == 0)
elog(ERROR, "prefetch ended early");
- if (PageIsEmpty(r))
- elog(ERROR, "page empty");
++blocks_done;
}