aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-07-21 13:38:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-07-21 13:38:24 -0400
commit35ac618a7c4602b792160ae0d77b6dfb289f517e (patch)
treed6d18b6f7207aefe3fcb75032da89a3adfd49f98 /src/backend/utils/adt/jsonb.c
parent29f171c81a0d064ab556417374b8809a8ebe2c08 (diff)
downloadpostgresql-35ac618a7c4602b792160ae0d77b6dfb289f517e.tar.gz
postgresql-35ac618a7c4602b792160ae0d77b6dfb289f517e.zip
Fix some oversights in BRIN patch.
Remove HeapScanDescData.rs_initblock, which wasn't being used for anything in the final version of the patch. Fix IndexBuildHeapScan so that it supports syncscan again; the patch broke synchronous scanning for index builds by forcing rs_startblk to zero even when the caller did not care about that and had asked for syncscan. Add some commentary and usage defenses to heap_setscanlimits(). Fix heapam so that asking for rs_numblocks == 0 does what you would reasonably expect. As coded it amounted to requesting a whole-table scan, because those "--x <= 0" tests on an unsigned variable would behave surprisingly.
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions