aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2008-05-13 15:44:08 +0000
committerBruce Momjian <bruce@momjian.us>2008-05-13 15:44:08 +0000
commitd82a1d582cf1917d8d9807fe76bf6588091563c0 (patch)
tree00fa8b1f3523088e76831948b35232cfc822ba2a /src/backend/executor
parenta61b2464fac452fbb849832a613ad5400ab7a7da (diff)
downloadpostgresql-d82a1d582cf1917d8d9807fe76bf6588091563c0.tar.gz
postgresql-d82a1d582cf1917d8d9807fe76bf6588091563c0.zip
This is the patch replace offnum++ by OffsetNumberNext, to be
consistent. OffsetNumberNext() has some casting that makes it useful. Fujii Masao
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/nodeBitmapHeapscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeBitmapHeapscan.c b/src/backend/executor/nodeBitmapHeapscan.c
index a195a049309..916340288a7 100644
--- a/src/backend/executor/nodeBitmapHeapscan.c
+++ b/src/backend/executor/nodeBitmapHeapscan.c
@@ -21,7 +21,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/nodeBitmapHeapscan.c,v 1.27 2008/05/12 00:00:49 alvherre Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/nodeBitmapHeapscan.c,v 1.28 2008/05/13 15:44:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -302,7 +302,7 @@ bitgetpage(HeapScanDesc scan, TBMIterateResult *tbmres)
OffsetNumber maxoff = PageGetMaxOffsetNumber(dp);
OffsetNumber offnum;
- for (offnum = FirstOffsetNumber; offnum <= maxoff; offnum++)
+ for (offnum = FirstOffsetNumber; offnum <= maxoff; offnum = OffsetNumberNext(offnum))
{
ItemId lp;
HeapTupleData loctup;