Обсуждение: pgsql-server/contrib/tsearch2 ts_cfg.c snowbal ...

Поиск
Список
Период
Сортировка

pgsql-server/contrib/tsearch2 ts_cfg.c snowbal ...

От
momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/09/29 15:54:38

Modified files:
    contrib/tsearch2: ts_cfg.c
    contrib/tsearch2/snowball: api.c utilities.c

Log message:
    I've not changed any malloc/calloc to palloc. It looks to me that these memory
    areas are for the lifetime of the backend and in the interests of not breaking
    something that's not broken I left alone.

    Note for anyone reading this and wanting it for tsearch-v2-stable (i.e. for 7.3
    backend) this patch probably will not apply cleanly to that source. It should
    be simple enough to see what's going on and apply the changes by hand if need
    be.

    --
    Nigel J. Andrews