aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-09-15 11:59:34 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-09-15 12:15:20 +0200
commit9b2fd490577bc957429f337cfd72869eb8ef08c9 (patch)
tree6f2c54ad9157f3d011ecbd04276e2ab165aea600 /src/backend/access/gist
parent6e6adbddbce1391ffb676ce9779f24c25a6a9f09 (diff)
downloadpostgresql-9b2fd490577bc957429f337cfd72869eb8ef08c9.tar.gz
postgresql-9b2fd490577bc957429f337cfd72869eb8ef08c9.zip
Fix hash_array
Commit 054adca641ac1279dc8d9b74fda41948ac35e9a9 neglected to initialize the type_id field of the synthesized type cache entry, so it would make a new one on every call. Also, better use the per-function memory context for this; otherwise it leaks memory. Discussion: https://www.postgresql.org/message-id/flat/17158-8a2ba823982537a4%40postgresql.org
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions