Re: PQsendQueryParams() causes prepared statement error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Denis Feklushkin <denis(dot)feklushkin(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: PQsendQueryParams() causes prepared statement error
Date: 2012-11-07 16:48:54
Message-ID: 10383.1352306934@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Denis Feklushkin <denis(dot)feklushkin(at)gmail(dot)com> writes:
> in 9.2.0:
> PQsendQueryParams() with multiple command statement (like "select 123;
> select 456") unexpectedly causes error:

> "cannot insert multiple commands into a prepared statement."

This is not a bug, it's intentional (and documented) behavior.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Denis Feklushkin 2012-11-07 17:04:05 Re: PQsendQueryParams() causes prepared statement error
Previous Message Magnus Hagander 2012-11-07 14:53:00 Re: Bug reporting form :-(