Skip to content

Commit c2e5631

Browse files
committed
RelOptInfo.pages should really be declared as BlockNumber, not long.
1 parent d4c4d28 commit c2e5631

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/include/nodes/relation.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.99 2004/08/29 05:06:57 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.100 2004/11/26 21:08:35 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -17,6 +17,7 @@
1717
#include "access/sdir.h"
1818
#include "nodes/bitmapset.h"
1919
#include "nodes/parsenodes.h"
20+
#include "storage/block.h"
2021

2122

2223
/*
@@ -201,7 +202,7 @@ typedef struct RelOptInfo
201202
Relids *attr_needed; /* array indexed [min_attr .. max_attr] */
202203
int32 *attr_widths; /* array indexed [min_attr .. max_attr] */
203204
List *indexlist;
204-
long pages;
205+
BlockNumber pages;
205206
double tuples;
206207
struct Plan *subplan; /* if subquery */
207208

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy