projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293e24e
)
Fix compiler warning.
author
Robert Haas
<rhaas@postgresql.org>
Tue, 7 Feb 2017 20:09:14 +0000
(15:09 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Tue, 7 Feb 2017 20:09:14 +0000
(15:09 -0500)
Mithun Cy, per a report by Erik Rijkers
src/backend/access/hash/hashpage.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/hash/hashpage.c
b/src/backend/access/hash/hashpage.c
index d52f149389b3c1e666c64477b39c3dc71b7d22a2..9485978bfb09d1a88192739ae3e4be4da60e6fe0 100644
(file)
--- a/
src/backend/access/hash/hashpage.c
+++ b/
src/backend/access/hash/hashpage.c
@@
-1220,7
+1220,7
@@
_hash_getcachedmetap(Relation rel, Buffer *metabuf, bool force_refresh)
Assert(metabuf);
if (force_refresh || rel->rd_amcache == NULL)
{
- char *cache;
+ char *cache
= NULL
;
/*
* It's important that we don't set rd_amcache to an invalid