pgsql-server/contrib tsearch/parser.l tsearch2 ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/contrib tsearch/parser.l tsearch2 ...
Date: 2003-09-14 18:44:23
Message-ID: 20030914184423.C72B1D1B4FF@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/09/14 15:44:23

Modified files:
contrib/tsearch: parser.l
contrib/tsearch2/wordparser: parser.l

Log message:
Persuade tsearch/tsearch2 to work (or at least pass their regression
tests) when using flex 2.5.31. The fix is to *not* try to use palloc
and pfree for allocations within the lexer; when you do that, the
yy_buffer_stack gets freed at inopportune times. The code is already
set up to do manual deallocation, so I see no particular advantage to
using palloc anyway.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-09-14 20:21:18 pgsql-server/src/include/port linux.h
Previous Message Tom Lane 2003-09-14 17:25:55 pgsql-server/src/pl/tcl pltcl.c