Avoid statically allocating statement cache in ecpglib/prepare.c.
Tom Lane <tgl@sss.pgh.pa.us>
Avoid statically allocating statement cache in ecpglib/prepare.c. This removes a megabyte of storage that isn't used at all in ecpglib's default operating mode --- you have to enable auto-prepare to get any use out of it. Seems well worth the trouble to allocate on demand. Discussion: https://postgr.es/m/20181015200754.7y7zfuzsoux2c4ya@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/prepare.c | modified | +20 −1 |
Discussion
- Large writable variables 51 messages · 2018-10-15 → 2018-10-25