Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] SPI_exec vs. CREATE/DROP RULE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] SPI_exec vs. CREATE/DROP RULE
Date: 1999-07-23 00:54:05
Message-ID: 11160.932691245@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
Zakkr <zakkr(at)zf(dot)jcu(dot)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

Responses

pgsql-interfaces by date

Next:From: leifDate: 1999-07-23 02:00:28
Subject: [INTERFACES] MSAccess problem deleting rows
Previous:From: Tom LaneDate: 1999-07-23 00:30:31
Subject: Re: [INTERFACES] Frontend/Backend Protocol

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group