pgsql: Set read_only = TRUE while evaluating input queries for - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Set read_only = TRUE while evaluating input queries for
Date
Msg-id 20071024033003.D44C0754229@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Set read_only = TRUE while evaluating input queries for ts_rewrite()
and ts_stat(), per my recent suggestion.  Also add a possibly-not-needed-
but-can't-hurt check for NULL SPI_tuptable, before we try to dereference
same.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        tsquery_rewrite.c (r1.6 -> r1.7)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsquery_rewrite.c?r1=1.6&r2=1.7)
        tsvector_op.c (r1.6 -> r1.7)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsvector_op.c?r1=1.6&r2=1.7)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove the aggregate form of ts_rewrite(), since it doesn't work
Next
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: pginstaller - pginst: update french translation.