aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-01 10:43:09 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-01 10:43:09 -0300
commit9ee00ef4c7de991b9371f614ce9c03ff436ce383 (patch)
treec75c3f6a247f0d68c8936f20487858fc6cd58fe4 /src/backend/access/gist/gistutil.c
parent583905269378bf41c24585773885b1e226a998ce (diff)
downloadpostgresql-9ee00ef4c7de991b9371f614ce9c03ff436ce383.tar.gz
postgresql-9ee00ef4c7de991b9371f614ce9c03ff436ce383.zip
Fill tuple before HeapSatisfiesHOTAndKeyUpdate
Failing to do this results in almost all updates to system catalogs being non-HOT updates, because the OID column would differ (not having been set for the new tuple), which is an indexed column. While at it, make sure to set the tableoid early in both old and new tuples as well. This isn't of much consequence, since that column is seldom (never?) indexed. Report and patch from Andres Freund.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions