Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUSo1-0001yw-EH for pgsql-odbc@arkaria.postgresql.org; Mon, 31 Mar 2014 03:22:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUSo0-0004fg-TN for pgsql-odbc@arkaria.postgresql.org; Mon, 31 Mar 2014 03:22:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUSnz-0004fX-2Q for pgsql-odbc@postgresql.org; Mon, 31 Mar 2014 03:22:35 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUSnv-0004H0-7v for pgsql-odbc@postgresql.org; Mon, 31 Mar 2014 03:22:34 +0000 Received: (qmail 12006 invoked by uid 512); 31 Mar 2014 03:22:25 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 31 Mar 2014 03:22:25 -0000 Received: from unknown (HELO ?100.0.33.224?) (114.160.219.229) by sd.tpf.co.jp with SMTP; 31 Mar 2014 03:22:25 -0000 Message-ID: <5338DF6D.2030105@tpf.co.jp> Date: Mon, 31 Mar 2014 12:22:21 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Michael Paquier CC: Heikki Linnakangas , PostgreSQL mailing lists Subject: Re: Re: [HACKERS] New parameter RollbackError to control rollback behavior on error References: <533295A0.4010405@vmware.com> <5334F22F.1030004@tpf.co.jp> <5335F4C3.7050004@tpf.co.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.7 (-) 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 (2014/03/29 7:23), Michael Paquier wrote: > On Sat, Mar 29, 2014 at 7:16 AM, Hiroshi Inoue wrote: >> (2014/03/28 14:37), Michael Paquier wrote: >>> >>> On Fri, Mar 28, 2014 at 12:53 PM, Inoue, Hiroshi wrote: >>> No differences. I just changed the name of this variable to be a >>> maximum consistent with the parameter introduced. >> >> >> There are some rollback_on_error in dlg_wingui.c. > Ouch, thanks. > >>>> The length of connection strings seem to be increased at least 3 bytes. >>>> Is it right? >>> >>> Do you mean that with the introduction of the new parameter AA? If >>> yes, well I guess it is increased by 5 bytes ";AA=[0|1|2]". >> >> >> Isn't the difference between >> A1=7.4;AA=[0|1|2] and A1=7.4-[0|1|2] >> ? >> I introduced the latter only to skimp on 3 bytes. > Oh yes, sorry. Is it a problem though? Because if we switch to > string-only values for AA this could get longer by 10~20 bytes > depending on the parameter values. SQLDriverConnect() returns the complete connection strings when requested. makeConnectString() in dlg_specific.c makes connection strings which are acceptable for specified buffers. 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