pgsql: ecpg: put all string-valued tokens returned by pgc.l in local st

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: ecpg: put all string-valued tokens returned by pgc.l in local st
Дата
Msg-id E1tGMBV-003mYa-3s@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/85312d95e959bae16c5d0bbf79ae74bcd7fec1a9

Modified Files
--------------
src/interfaces/ecpg/preproc/parser.c |  4 +++-
src/interfaces/ecpg/preproc/pgc.l    | 42 ++++++++++++++++++------------------
2 files changed, 24 insertions(+), 22 deletions(-)


В списке pgsql-committers по дате отправления: