forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite6fc3b7
committed
Fix query result leak during binary upgrade
9a974cb moved the query in binary_upgrade_set_pg_class_oids to theouter level, but left the PQclear and query buffer destruction in theis_index conditional.353708e fixed the leak of the query bufferbut left the PGresult leak. This moves clearing the result to the outerlevel ensuring that it will be called.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/374550C1-F4ED-4D9D-9498-0FD029CCF674@yesql.seBackpatch-through: v151 parenta826021 commite6fc3b7
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4980 | 4980 |
| |
4981 | 4981 |
| |
4982 | 4982 |
| |
4983 |
| - | |
4984 |
| - | |
4985 | 4983 |
| |
4986 | 4984 |
| |
4987 | 4985 |
| |
| |||
4994 | 4992 |
| |
4995 | 4993 |
| |
4996 | 4994 |
| |
| 4995 | + | |
| 4996 | + | |
4997 | 4997 |
| |
4998 | 4998 |
| |
4999 | 4999 |
| |
|
0 commit comments
Comments
(0)