pgsql: SPI_cursor_open failed to enforce that only read-only queries

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: SPI_cursor_open failed to enforce that only read-only queries
Date: 2007-03-17 03:15:38
Message-ID: 20070317031538.9A9AA9FB609@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
SPI_cursor_open failed to enforce that only read-only queries could be
executed in read_only mode. This could lead to various relatively-subtle
failures, such as an allegedly stable function returning non-stable results.
Bug goes all the way back to the introduction of read-only mode in 8.0.
Per report from Gaetano Mendola.

Modified Files:
--------------
pgsql/src/backend/executor:
spi.c (r1.172 -> r1.173)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.172&r2=1.173)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-03-17 03:15:47 pgsql: SPI_cursor_open failed to enforce that only read-only queries
Previous Message Tom Lane 2007-03-17 01:15:55 pgsql: Ooops, got only one of the two ArrayExpr variants correct in