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

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Change tsearch2 to not use the unsafe practice of creating
Дата
Msg-id 20050503165145.B4D7F53A4C@svr1.postgresql.org
обсуждение исходный текст
Список 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:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2/gendict:
        sql.IN (r1.1 -> r1.1.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/sql.IN.diff?r1=1.1&r2=1.1.4.1)
    pgsql/contrib/tsearch2:
        tsearch.sql.in (r1.1.2.1 -> r1.1.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsearch.sql.in.diff?r1=1.1.2.1&r2=1.1.2.2)
        untsearch.sql.in (r1.2 -> r1.2.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/untsearch.sql.in.diff?r1=1.2&r2=1.2.4.1)
    pgsql/src/backend/catalog:
        pg_proc.c (r1.109 -> r1.109.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_proc.c.diff?r1=1.109&r2=1.109.2.1)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Change tsearch2 to not use the unsafe practice of creating
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Alter the signature for encoding conversion functions to declare