]> granicus.if.org Git - postgresql/commit
Split 'BufFile' routines out of fd.c into a new module, buffile.c. Extend
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Oct 1999 15:02:32 +0000 (15:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Oct 1999 15:02:32 +0000 (15:02 +0000)
commitdb3c4c3a2d980dcdd9a19feeddd11230587f0d21
tree2505c67a886b7f5696fa8885da1a98219043e14d
parentc3ac9f07b7bf2f764155a9b0e97c761fa780ac27
Split 'BufFile' routines out of fd.c into a new module, buffile.c.  Extend
BufFile so that it handles multi-segment temporary files transparently.
This allows sorts and hashes to work with data exceeding 2Gig (or whatever
the local limit on file size is).  Change psort.c to use relative seeks
instead of absolute seeks for backwards scanning, so that it won't fail
when the data volume exceeds 2Gig.
12 files changed:
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/backend/storage/file/Makefile
src/backend/storage/file/buffile.c [new file with mode: 0644]
src/backend/storage/file/fd.c
src/backend/storage/large_object/inv_api.c
src/backend/utils/sort/psort.c
src/include/executor/hashjoin.h
src/include/executor/nodeHashjoin.h
src/include/storage/buffile.h [new file with mode: 0644]
src/include/storage/fd.h
src/include/utils/psort.h