forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite15aae8
committed
Avoid statically allocating statement cache in ecpglib/prepare.c.
This removes a megabyte of storage that isn't used at all in ecpglib'sdefault operating mode --- you have to enable auto-prepare to get anyuse out of it. Seems well worth the trouble to allocate on demand.Discussion:https://postgr.es/m/20181015200754.7y7zfuzsoux2c4ya@alap3.anarazel.de1 parent92dff34 commite15aae8
1 file changed
+20
-1
lines changedLines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
28 |
| - | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| |||
362 | 364 |
| |
363 | 365 |
| |
364 | 366 |
| |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
365 | 371 |
| |
366 | 372 |
| |
367 | 373 |
| |
| |||
397 | 403 |
| |
398 | 404 |
| |
399 | 405 |
| |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
400 | 410 |
| |
401 | 411 |
| |
402 | 412 |
| |
| |||
437 | 447 |
| |
438 | 448 |
| |
439 | 449 |
| |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
440 | 459 |
| |
441 | 460 |
| |
442 | 461 |
| |
|
0 commit comments
Comments
(0)