Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKlpI-0007NJ-6P for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 12:21:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKlpH-0006Xi-9u for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 12:21:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKlpG-0006XF-Ul for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 12:21:11 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKlpD-0003x6-7Y for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 12:21:09 +0000 Received: from [192.168.1.3] (h216215.dynamic.ppp.asahi-net.or.jp [61.114.216.215]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 9BFC8B3DA; Wed, 6 Jul 2016 21:21:00 +0900 (JST) Subject: Re: How to get correct error message before logging to database To: Andrus References: <6BCE831703094A8287071F2E5DAB4C8C@dell2> <292539c2-5a39-0b56-fb9f-2ec2e13b0674@aklaver.com> <48fa3b3c-462c-2b2d-7dc9-c0f08883db5e@aklaver.com> <07661375-bd1c-c19a-e5f1-460fc9dc3376@aklaver.com> Cc: pgsql-odbc@postgresql.org, Adrian Klaver From: "Inoue, Hiroshi" Message-ID: <577CF7AC.7050908@dream.email.ne.jp> Date: Wed, 6 Jul 2016 21:21:00 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------000802070302020601040200" X-Pg-Spam-Score: -2.6 (--) 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 This is a multi-part message in MIME format. --------------000802070302020601040200 Content-Type: text/plain; charset=windows-1257; format=flowed Content-Transfer-Encoding: 7bit Hi Andrus, On 2016/07/06 17:53, Andrus wrote: > Hi! > >> So I am thinking this not a libpq issue, but a change in error reporting >> when the code was reorganized in 09.05.0100. I do not know the internals >> well enough to say anything more. Hopefully someone that does can >> fill in >> the blanks. > > Thank for information. > > I programmed in C 25 years ago. I'm using Visual Studio 2015 and C#. > Should I start to research driver source code and odbc log to find out > which > method call fails ? > Or is there better way ? Could you please try 09.05.0301 at http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/index.html ? regards, Hiroshi Inoue --------------000802070302020601040200 Content-Type: text/html; charset=windows-1257 Content-Transfer-Encoding: 8bit Hi Andrus,

On 2016/07/06 17:53, Andrus wrote:
Hi!

So I am thinking this not a libpq issue, but a change in error reporting
when the code was reorganized in 09.05.0100. I do not know the internals
well enough to say anything more. Hopefully someone that does can fill in
the blanks.

Thank for information.

I programmed in C 25 years ago. I'm using Visual Studio 2015 and C#.
Should I start to research driver source code and odbc log to find out which
method call fails ?
Or is there better way ?

Could you please try 09.05.0301 at
  
http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/index.html
?


regards,
Hiroshi Inoue

--------------000802070302020601040200--