Thread: pgsql: Backpatch: Fix tsvector_out() and tsquery_out() to escape

pgsql: Backpatch: Fix tsvector_out() and tsquery_out() to escape

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Backpatch: Fix tsvector_out() and tsquery_out() to escape backslesh, add test of that.
Patch by Bruce Momjian <bruce@momjian.us>

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2:
        query.c (r1.5.2.3 -> r1.5.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query.c?r1=1.5.2.3&r2=1.5.2.4)
        tsvector.c (r1.4.4.4 -> r1.4.4.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.c?r1=1.4.4.4&r2=1.4.4.5)
    pgsql/contrib/tsearch2/expected:
        tsearch2.out (r1.6.2.2 -> r1.6.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/expected/tsearch2.out?r1=1.6.2.2&r2=1.6.2.3)
    pgsql/contrib/tsearch2/sql:
        tsearch2.sql (r1.3.2.2 -> r1.3.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/sql/tsearch2.sql?r1=1.3.2.2&r2=1.3.2.3)