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