pgsql: Set read_only = TRUE while evaluating input queries for

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Set read_only = TRUE while evaluating input queries for
Date: 2007-10-24 03:30:03
Message-ID: 20071024033003.D44C0754229@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User H-saito 2007-10-24 07:37:01 pginstaller - pginst: update french translation.
Previous Message Tom Lane 2007-10-24 02:24:49 pgsql: Remove the aggregate form of ts_rewrite(), since it doesn't work