Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TVvS8-0003uA-IU for pgsql-bugs@postgresql.org; Wed, 07 Nov 2012 02:33:16 +0000 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TVvS6-0006Gf-Hk for pgsql-bugs@postgresql.org; Wed, 07 Nov 2012 02:33:16 +0000 Received: by mail-lb0-f174.google.com with SMTP id n3so948393lbo.19 for ; Tue, 06 Nov 2012 18:33:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=SuQGgNze7Zh63RmVH3owZHgpNkSId3cWf3bU9iQLD1Q=; b=Aw683q8Xfr0dCDj6m9fucgBlCRADPkjyqJ4FfVXZMqsnsztO0807qyjGcwN36fBfAe 5CcknSZjDtSD30hgCz0dqL80YyUrv1k2FrffxZ/Dxnbj9OxeiDi9lopd8nhnSFBSGkj5 ZdXQKerNIbPRkVouVxj1hTpyLw8BW6e1kSTBkglxhJumN257MLyDZWEKgjMsPzbquCVT OjMTqxkGlBdG8k6peWYY50ESGl0X1YnoWKz1kNUHbGUjxrC2v6MBFMY3fl2pgDAVjcCb 4d/GQkz1u/GOSjhpvmysDIw2V13yRR5dCOA3f/TjB6/1ahGHaemZTNdjB6YqwiU40P7D 0vkA== Received: by 10.152.104.240 with SMTP id gh16mr2906223lab.56.1352255594237; Tue, 06 Nov 2012 18:33:14 -0800 (PST) Received: from [192.168.1.75] (dnm.250.66.126.92.dsl.krasnet.ru. [92.126.66.250]) by mx.google.com with ESMTPS id j9sm7527320lbk.17.2012.11.06.18.33.12 (version=SSLv3 cipher=OTHER); Tue, 06 Nov 2012 18:33:13 -0800 (PST) Message-ID: <1352255590.27348.11.camel@localhost> Subject: PQsendQueryParams() causes prepared statement error From: Denis Feklushkin To: pgsql-bugs Date: Wed, 07 Nov 2012 10:33:10 +0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201211/25 X-Sequence-Number: 34583 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." But PQsendQuery() works fine.