Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xosqr-0003Za-RM for pgsql-odbc@arkaria.postgresql.org; Thu, 13 Nov 2014 11:46:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xosqr-0006p1-7S for pgsql-odbc@arkaria.postgresql.org; Thu, 13 Nov 2014 11:46:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xosqp-0006os-9w for pgsql-odbc@postgresql.org; Thu, 13 Nov 2014 11:46:11 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xosql-00077m-Bv for pgsql-odbc@postgresql.org; Thu, 13 Nov 2014 11:46:09 +0000 Received: (qmail 18538 invoked from network); 13 Nov 2014 11:46:03 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 13 Nov 2014 11:46:03 -0000 Received: from unknown (HELO ?192.168.1.8?) (110.5.29.219) by sd.tpf.co.jp with SMTP; 13 Nov 2014 11:46:03 -0000 Message-ID: <54649A01.2080303@tpf.co.jp> Date: Thu, 13 Nov 2014 20:46:09 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?TmlscyBHw7ZzY2hl?= , 'Michael Paquier' CC: 'PostgreSQL mailing lists' Subject: Re: Bug? {? = CALL insert_page_segment (?, ?)} References: <002701cffdd2$0f2842d0$2d78c870$@cartan.de> <54634AE6.7030706@tpf.co.jp> <000601cffe77$6681ce20$33856a60$@de> <54636720.8020909@tpf.co.jp> <002601cffe81$ceb999a0$6c2ccce0$@de> <000f01cfff17$4f45aa10$edd0fe30$@de> In-Reply-To: <000f01cfff17$4f45aa10$edd0fe30$@de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 2014/11/13 16:56, Nils Gösche wrote: > Michael wrote: > >> On Wed, Nov 12, 2014 at 11:06 PM, Nils Gösche wrote: > >>> So, should I use the new driver together with this driver option on >>> our customers' servers? I had always left this option at its default >>> value (1), which seems to be the recommended setting. Or is this >>> something that will be fixed in the driver, and I should stick to 9.2.1 >>> for the time being? > >> UseServerSidePrepare default value has been switched from 0 to 1 in >> 09.03.0100, that's btw the value recommended for Postgres 7.4 onwards >> for quite some time. > > Oh! I knew that it had been the recommended value, I just assumed it also must have been the default value, then :-) So in fact, our software has been running with UseServerSidePrepare=0 all the time. I can make a note for our support people to tell every customer who runs into this problem to add this setting to his connection string. > > What I do not quite understand, however, is why it is even necessary for us to deviate from the recommended setting. Is there anything wrong with the way I am doing the query? Shouldn't it work with UseServerSidePrepare=1 as well? Yes it should work. Currently there are some bugs about handling output parameters. It would be fixed in the next release. regards, Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc