forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1029bde
committed
Improve enlargeStringInfo's ERROR message
Until now, when an enlargeStringInfo() call would cause the StringInfo toexceed its maximum size, we reported an "out of memory" error. This ismisleading as it's no such thing.Here we remove the "out of memory" text and replace it with somethingmore relevant to better indicate that it's a program limitation that'sbeen reached.Reported-by: Michael BanckReviewed-by: Daniel Gustafsson, Tom LaneDiscussion:https://postgr.es/m/18484-3e357ade5fe50e61@postgresql.org1 parente26810d commit1029bde
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
311 | 311 |
| |
312 | 312 |
| |
313 | 313 |
| |
314 |
| - | |
| 314 | + | |
315 | 315 |
| |
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
320 |
| - | |
| 319 | + | |
| 320 | + | |
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
|
0 commit comments
Comments
(0)