aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execProcnode.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-08-06 19:41:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-08-06 19:41:23 +0000
commitba053de197eaec975e611b2969526363915e58c2 (patch)
treec86a09d2913e2fd862b1ea8f646a3afc908e20ac /src/backend/executor/execProcnode.c
parent4038e8610c0fc8473ba40f186f4230024e4eadcc (diff)
downloadpostgresql-ba053de197eaec975e611b2969526363915e58c2.tar.gz
postgresql-ba053de197eaec975e611b2969526363915e58c2.zip
Still more paranoia in PageAddItem: disallow specification of an item
offset past the last-used-item-plus-one, since that would result in leaving uninitialized holes in the item pointer array. AFAICT the only place that was depending on this was btree index build, which was being cavalier about when to fill in the P_HIKEY pointer; easily fixed. Also a small performance improvement: shuffle itemid's by means of memmove, not a one-at-a-time loop.
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions