forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5388216
committed
Revert ECPG's use of pnstrdup()
Commit0b9466f added a dependency on fe_memutils' pnstrdup() insideinformix.c. This adds an exit() path in a library, which we don'twant. (Unlike libpq, the ecpg libraries don't have an automated checkfor that, but it makes sense to keep them to a similar standard.) Theecpg code can already handle failure results from the *strdup() callby itself.Author: Jacob Champion <jacob.champion@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/CAOYmi+=pg=W5L1h=3MEP_EB24jaBu2FyATrLXqQHGe7cpuvwyg@mail.gmail.com1 parent40064a8 commit5388216
1 file changed
+21
-2
lines changedLines changed: 21 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
178 | 197 |
| |
179 | 198 |
| |
180 | 199 |
| |
| |||
186 | 205 |
| |
187 | 206 |
| |
188 | 207 |
| |
189 |
| - | |
190 |
| - | |
| 208 | + | |
| 209 | + | |
191 | 210 |
| |
192 | 211 |
| |
193 | 212 |
| |
|
0 commit comments
Comments
(0)