aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-04 14:55:55 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-04 14:55:55 +0900
commit82fa8ae5f9ac4827dd29a6feaf53da931b5706d1 (patch)
treeccc2121a1e88e18d602969af67b8f141bf09a891 /src/backend/access/gist/gistbuild.c
parent019c13e7a9955b9e353889bf1d2573f2e4ed2148 (diff)
downloadpostgresql-82fa8ae5f9ac4827dd29a6feaf53da931b5706d1.tar.gz
postgresql-82fa8ae5f9ac4827dd29a6feaf53da931b5706d1.zip
Fix out-of-bound read in gtsvector_picksplit()
This could lead to an imprecise choice when splitting an index page of a GiST index on a tsvector, deciding which entries should remain on the old page and which entries should move to a new page. This is wrong since tsearch2 has been moved into core with commit 140d4ebcb46e, so backpatch all the way down. This error has been spotted by valgrind. Author: Alexander Lakhin Discussion: https://postgr.es/m/17950-6c80a8d2b94ec695@postgresql.org Backpatch-through: 11
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions