Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3dec1419
Commit
3dec1419
authored
Feb 09, 2000
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable backward sequential scan even after reaching EOF.
parent
9e348835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
21 deletions
+1
-21
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+1
-21
No files found.
src/backend/access/heap/heapam.c
View file @
3dec1419
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.6
5 2000/01/26 05:55:56 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.6
6 2000/02/09 03:49:47 inoue
Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -848,11 +848,6 @@ heap_getnext(HeapScanDesc scandesc, int backw)
if
(
scan
->
rs_ptup
.
t_data
==
scan
->
rs_ctup
.
t_data
&&
BufferIsInvalid
(
scan
->
rs_pbuf
))
{
if
(
BufferIsValid
(
scan
->
rs_nbuf
))
ReleaseBuffer
(
scan
->
rs_nbuf
);
scan
->
rs_ntup
.
t_datamcxt
=
NULL
;
scan
->
rs_ntup
.
t_data
=
NULL
;
scan
->
rs_nbuf
=
UnknownBuffer
;
return
NULL
;
}
...
...
@@ -910,11 +905,6 @@ heap_getnext(HeapScanDesc scandesc, int backw)
scan
->
rs_ptup
.
t_datamcxt
=
NULL
;
scan
->
rs_ptup
.
t_data
=
NULL
;
scan
->
rs_pbuf
=
InvalidBuffer
;
if
(
BufferIsValid
(
scan
->
rs_nbuf
))
ReleaseBuffer
(
scan
->
rs_nbuf
);
scan
->
rs_ntup
.
t_datamcxt
=
NULL
;
scan
->
rs_ntup
.
t_data
=
NULL
;
scan
->
rs_nbuf
=
InvalidBuffer
;
return
NULL
;
}
...
...
@@ -934,11 +924,6 @@ heap_getnext(HeapScanDesc scandesc, int backw)
if
(
scan
->
rs_ctup
.
t_data
==
scan
->
rs_ntup
.
t_data
&&
BufferIsInvalid
(
scan
->
rs_nbuf
))
{
if
(
BufferIsValid
(
scan
->
rs_pbuf
))
ReleaseBuffer
(
scan
->
rs_pbuf
);
scan
->
rs_ptup
.
t_datamcxt
=
NULL
;
scan
->
rs_ptup
.
t_data
=
NULL
;
scan
->
rs_pbuf
=
UnknownBuffer
;
HEAPDEBUG_3
;
/* heap_getnext returns NULL at end */
return
NULL
;
}
...
...
@@ -998,11 +983,6 @@ heap_getnext(HeapScanDesc scandesc, int backw)
scan
->
rs_ntup
.
t_datamcxt
=
NULL
;
scan
->
rs_ntup
.
t_data
=
NULL
;
scan
->
rs_nbuf
=
InvalidBuffer
;
if
(
BufferIsValid
(
scan
->
rs_pbuf
))
ReleaseBuffer
(
scan
->
rs_pbuf
);
scan
->
rs_ptup
.
t_datamcxt
=
NULL
;
scan
->
rs_ptup
.
t_data
=
NULL
;
scan
->
rs_pbuf
=
InvalidBuffer
;
HEAPDEBUG_6
;
/* heap_getnext returning EOS */
return
NULL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment