RelOptInfo.pages should really be declared as BlockNumber, not long.
authorTom Lane <[email protected]>
Fri, 26 Nov 2004 21:08:35 +0000 (21:08 +0000)
committerTom Lane <[email protected]>
Fri, 26 Nov 2004 21:08:35 +0000 (21:08 +0000)
src/include/nodes/relation.h

index a6eba1ac5753efc2922050397fc59973ec64847a..2cf0a6576714546f20c20ea4a1186d292c3b069b 100644 (file)
@@ -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 */