ecpg: put all string-valued tokens returned by pgc.l in local storage.
Tom Lane <tgl@sss.pgh.pa.us>
ecpg: put all string-valued tokens returned by pgc.l in local storage. This didn't work earlier in the patch series (I think some of the strings were ending up in data-type-related structures), but apparently we're now clean enough for it. This considerably reduces process-lifespan memory leakage. Discussion: https://postgr.es/m/2011420.1713493114@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/preproc/parser.c | modified | +3 −1 |
| src/interfaces/ecpg/preproc/pgc.l | modified | +21 −21 |
Discussion
- ECPG cleanup and fix for clang compile-time problem 25 messages · 2024-04-19 → 2024-11-27