summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2020-09-21 11:50:07 +0000
committerHeikki Linnakangas2020-09-21 11:50:07 +0000
commitc47a240fe6db8293e2de1565233faee40afa64b6 (patch)
tree943e1c31e29d83b1caaf8bd5d2bcce94a5650723 /src/backend/utils/adt/jsonpath_exec.c
parentc2bb287025189d93c8df16b28f2a3d9d07d25655 (diff)
Fix checksum calculation in the new sorting GiST build.
Since we're bypassing the buffer manager, we need to call PageSetChecksumInplace() directly. As reported by Justin Pryzby. In the passing, add RelationOpenSmgr() calls before all smgrwrite() and smgrextend() calls. Tom added one before the first smgrextend() call in commit c2bb287025, which seems to be enough, but let's play it safe and do it before each one. That's how it's done in the similar code in nbtsort.c, too. Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions