Fix hash_array
Peter Eisentraut <peter@eisentraut.org>
Fix hash_array Commit a3d2b1bbe904b0ca8d9fdde20f25295ff3e21f79 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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/arrayfuncs.c | modified | +3 −2 |
Discussion
- BUG #17158: Distinct ROW fails with Postgres 14 14 messages · 2021-08-24 → 2021-09-15