forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit851ff93
committed
Fix hash_array
Commita3d2b1b neglected toinitialize the type_id field of the synthesized type cache entry, soit would make a new one on every call.Also, better use the per-function memory context for this; otherwiseit leaks memory.Discussion:https://www.postgresql.org/message-id/flat/17158-8a2ba823982537a4%40postgresql.org1 parent379591f commit851ff93
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3992 | 3992 |
| |
3993 | 3993 |
| |
3994 | 3994 |
| |
3995 |
| - | |
| 3995 | + | |
3996 | 3996 |
| |
3997 | 3997 |
| |
3998 | 3998 |
| |
3999 | 3999 |
| |
4000 | 4000 |
| |
4001 |
| - | |
| 4001 | + | |
| 4002 | + | |
4002 | 4003 |
| |
4003 | 4004 |
| |
4004 | 4005 |
| |
|
0 commit comments
Comments
(0)