Re: [INTERFACES] SPI_exec vs. CREATE/DROP RULE - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] SPI_exec vs. CREATE/DROP RULE
Date
Msg-id 11160.932691245@sss.pgh.pa.us
Whole thread Raw
In response to SPI_exec vs. CREATE/DROP RULE  (Zakkr <zakkr@zf.jcu.cz>)
Responses RE: [INTERFACES] SPI_exec vs. CREATE/DROP RULE  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-interfaces
Zakkr <zakkr@zf.jcu.cz> writes:
> I try in my function use SPI_exec() with CREATE or DROP RULE, but if I call
> my func. - server return this message: 
> "Backend send D message without prior T". 

That's a known bug with utility statements executed via SPI.  Someone
was looking into a fix a few months ago, but I haven't heard anything
about it since then...
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Frontend/Backend Protocol
Next
From: leif@danmos.dk
Date:
Subject: [INTERFACES] MSAccess problem deleting rows