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:
4481737
)
RelOptInfo.pages should really be declared as BlockNumber, not long.
author
Tom Lane
<
[email protected]
>
Fri, 26 Nov 2004 21:08:35 +0000
(21:08 +0000)
committer
Tom Lane
<
[email protected]
>
Fri, 26 Nov 2004 21:08:35 +0000
(21:08 +0000)
src/include/nodes/relation.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/nodes/relation.h
b/src/include/nodes/relation.h
index a6eba1ac5753efc2922050397fc59973ec64847a..2cf0a6576714546f20c20ea4a1186d292c3b069b 100644
(file)
--- a/
src/include/nodes/relation.h
+++ b/
src/include/nodes/relation.h
@@
-17,6
+17,7
@@
#include "access/sdir.h"
#include "nodes/bitmapset.h"
#include "nodes/parsenodes.h"
+#include "storage/block.h"
/*
@@
-201,7
+202,7
@@
typedef struct RelOptInfo
Relids *attr_needed; /* array indexed [min_attr .. max_attr] */
int32 *attr_widths; /* array indexed [min_attr .. max_attr] */
List *indexlist;
-
long
pages;
+
BlockNumber
pages;
double tuples;
struct Plan *subplan; /* if subquery */