Skip site navigation (1) Skip section navigation (2)

pgsql: Change tsearch2 to not use the unsafe practice of creating

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change tsearch2 to not use the unsafe practice of creating
Date: 2005-05-03 16:51:22
Message-ID: 20050503165122.7067C53A27@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Change tsearch2 to not use the unsafe practice of creating functions
that return INTERNAL without also having INTERNAL arguments.  Since the
functions in question aren't meant to be called by hand anyway, I just
redeclared them to take 'internal' instead of 'text'.  Also add code
to ProcedureCreate() to enforce the restriction, as I should have done
to start with :-(

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2/gendict:
        sql.IN (r1.1 -> r1.1.8.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/sql.IN.diff?r1=1.1&r2=1.1.8.1)
    pgsql/contrib/tsearch2:
        tsearch.sql.in (r1.10 -> r1.10.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsearch.sql.in.diff?r1=1.10&r2=1.10.4.1)
        untsearch.sql.in (r1.5 -> r1.5.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/untsearch.sql.in.diff?r1=1.5&r2=1.5.4.1)
    pgsql/src/backend/catalog:
        pg_proc.c (r1.122 -> r1.122.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_proc.c.diff?r1=1.122&r2=1.122.4.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-05-03 16:51:45
Subject: pgsql: Change tsearch2 to not use the unsafe practice of creating
Previous:From: Tom LaneDate: 2005-05-03 16:51:00
Subject: pgsql: Change tsearch2 to not use the unsafe practice of creating

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group