Commit c2e56317 authored by Tom Lane's avatar Tom Lane

RelOptInfo.pages should really be declared as BlockNumber, not long.

parent d4c4d284
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.99 2004/08/29 05:06:57 momjian Exp $ * $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.100 2004/11/26 21:08:35 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "access/sdir.h" #include "access/sdir.h"
#include "nodes/bitmapset.h" #include "nodes/bitmapset.h"
#include "nodes/parsenodes.h" #include "nodes/parsenodes.h"
#include "storage/block.h"
/* /*
...@@ -201,7 +202,7 @@ typedef struct RelOptInfo ...@@ -201,7 +202,7 @@ typedef struct RelOptInfo
Relids *attr_needed; /* array indexed [min_attr .. max_attr] */ Relids *attr_needed; /* array indexed [min_attr .. max_attr] */
int32 *attr_widths; /* array indexed [min_attr .. max_attr] */ int32 *attr_widths; /* array indexed [min_attr .. max_attr] */
List *indexlist; List *indexlist;
long pages; BlockNumber pages;
double tuples; double tuples;
struct Plan *subplan; /* if subquery */ struct Plan *subplan; /* if subquery */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment