pgsql: Avoid memory leakage across successive calls of regexp_matches() - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Avoid memory leakage across successive calls of regexp_matches()
Date
Msg-id 20070811191641.5EFD175421F@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Avoid memory leakage across successive calls of regexp_matches() or
regexp_split_to_table() within a single query.  This is only a partial
solution, as it turns out that with enough matches per string these
functions can also tickle a repalloc() misbehavior.  But fixing that
is a topic for a separate patch.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        regexp.c (r1.72 -> r1.73)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/regexp.c?r1=1.72&r2=1.73)

pgsql-committers by date:

Previous
From: pgstudy@pgfoundry.org (User Pgstudy)
Date:
Subject: fulldisjunction - fd: needed fix, reported by jeremy drake.
Next
From: mkz@pgfoundry.org (User Mkz)
Date:
Subject: pgbouncer - pgbouncer: add server vars to SHOW FDS, relax result parsing