forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite3b7f7c
committed
Fix contrib/hstore_plperl to look through scalar refs.
Bring this transform function into sync with the policy establishedby commit3a38298.Also, fix it to make sure that what it drills down to is indeed ahash, and not some other kind of Perl SV. Previously, the testcases added here provoked crashes.Because of the crash hazard, back-patch to 9.5 where this modulewas introduced.Discussion:https://postgr.es/m/28336.1528393969@sss.pgh.pa.us1 parent3a38298 commite3b7f7c
File tree
3 files changed
+51
-1
lines changed- contrib/hstore_plperl
- expected
- sql
3 files changed
+51
-1
lines changedLines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
44 | 63 |
| |
45 | 64 |
| |
46 | 65 |
| |
|
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
| 104 | + | |
| 105 | + | |
105 | 106 |
| |
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
109 | 110 |
| |
110 | 111 |
| |
111 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 |
| |
113 | 125 |
| |
114 | 126 |
| |
|
Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
34 | 53 |
| |
35 | 54 |
| |
36 | 55 |
| |
|
0 commit comments
Comments
(0)