pgsql: Make SPI set SPI_processed for CREATE TABLE AS / SELECT INTO

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make SPI set SPI_processed for CREATE TABLE AS / SELECT INTO
Date: 2005-06-09 21:25:22
Message-ID: 20050609212522.B569B52838@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make SPI set SPI_processed for CREATE TABLE AS / SELECT INTO commands;
this in turn causes CREATE TABLE AS in plpgsql to set ROW_COUNT.
This is how it behaved before 7.4; I had unintentionally changed the
behavior in a bit of sloppy micro-optimization.

Modified Files:
--------------
pgsql/src/backend/executor:
spi.c (r1.140 -> r1.141)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.140&r2=1.141)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-06-09 21:52:08 pgsql: Fix assign_datestyle() so that it doesn't misleadingly complain
Previous Message Tom Lane 2005-06-09 21:01:25 pgsql: Add missing #include -- mea culpa.