=?iso-8859-2?Q?Egy=FCd_Csaba?= <[EMAIL PROTECTED]> writes: > When I copy it into the console (psql) it runs well, but from function it > sends an error: > ERROR: cannot open multi-query plan as cursor > What does it mean? Could anybody help me?
I think most likely it means you made a typo transcribing the query into the function. If you can't figure it out, show us the whole function definition ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match