aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-12-27 17:39:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-12-27 17:39:00 +0000
commit38e9348282e9d078487147ba8a85aebec54e3a08 (patch)
treea893e05cad02c5e42d16aa1533fb5aa8d4cc5547 /src/backend/parser/parse_utilcmd.c
parentc8b69ed6a892d7db5998e99b1fdae4b30d75a807 (diff)
downloadpostgresql-38e9348282e9d078487147ba8a85aebec54e3a08.tar.gz
postgresql-38e9348282e9d078487147ba8a85aebec54e3a08.zip
Make a couple of small changes to the tuplestore API, for the benefit of the
upcoming window-functions patch. First, tuplestore_trim is now an exported function that must be explicitly invoked by callers at appropriate times, rather than something that tuplestore tries to do behind the scenes. Second, a read pointer that is marked as allowing backward scan no longer prevents truncation. This means that a read pointer marked as having BACKWARD but not REWIND capability can only safely read backwards as far as the oldest other read pointer. (The expected use pattern for this involves having another read pointer that serves as the truncation fencepost.)
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions