pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Re: [HACKERS] New parameter RollbackError to control rollback behavior on error
Date: Mon, 31 Mar 2014 12:22:21 +0900
Message-ID: <5338DF6D.2030105@tpf.co.jp> (raw)
In-Reply-To: <CAB7nPqQb8bPar+AYR1boZxnsxiP=rwZubQ46u4oE_Zq5uT304g@mail.gmail.com>
References: <CAB7nPqRrnMgMMW2maGOA3sOXtA12=Pogt4dpDzQR2fb8zffcmQ@mail.gmail.com>
	<533295A0.4010405@vmware.com>
	<CAB7nPqRAa9hZunODaZRKmB6-iGSJCYmxsfx0NE1LD3Tgo+u+1A@mail.gmail.com>
	<5334F22F.1030004@tpf.co.jp>
	<CAB7nPqTbt0BDAWpjh7Gg+JOgYR4_D28KHXtfuaXVCS0Pty4+Ow@mail.gmail.com>
	<5335F4C3.7050004@tpf.co.jp>
	<CAB7nPqQb8bPar+AYR1boZxnsxiP=rwZubQ46u4oE_Zq5uT304g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2014/03/29 7:23), Michael Paquier wrote:
> On Sat, Mar 29, 2014 at 7:16 AM, Hiroshi Inoue <inoue@tpf.co.jp> wrote:
>> (2014/03/28 14:37), Michael Paquier wrote:
>>>
>>> On Fri, Mar 28, 2014 at 12:53 PM, Inoue, Hiroshi <inoue@tpf.co.jp> 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



view thread (13+ messages)  latest in thread

Message-ID: <5338DF6D.2030105@tpf.co.jp>
Permalink:  ../5338DF6D.2030105@tpf.co.jp/
Also on:    postgresql.org/message-id/5338DF6D.2030105@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, michael.paquier@gmail.com, hlinnakangas@vmware.com
  Subject: Re: [HACKERS] New parameter RollbackError to control rollback behavior on error
  In-Reply-To: <5338DF6D.2030105@tpf.co.jp>
  References: <CAB7nPqRrnMgMMW2maGOA3sOXtA12=Pogt4dpDzQR2fb8zffcmQ@mail.gmail.com> <533295A0.4010405@vmware.com> <CAB7nPqRAa9hZunODaZRKmB6-iGSJCYmxsfx0NE1LD3Tgo+u+1A@mail.gmail.com> <5334F22F.1030004@tpf.co.jp> <CAB7nPqTbt0BDAWpjh7Gg+JOgYR4_D28KHXtfuaXVCS0Pty4+Ow@mail.gmail.com> <5335F4C3.7050004@tpf.co.jp> <CAB7nPqQb8bPar+AYR1boZxnsxiP=rwZubQ46u4oE_Zq5uT304g@mail.gmail.com> <5338DF6D.2030105@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox