Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKiab-0005JM-0q for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 08:53:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKiaa-0004Nc-DB for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 08:53:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKiaD-0003Zh-Mk for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 08:53:25 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.122]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKiaA-0007h7-2r for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 08:53:25 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 2B3F41357; Wed, 6 Jul 2016 11:53:21 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SsGalM78SpTy; Wed, 6 Jul 2016 11:53:19 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 1BDFF14C1; Wed, 6 Jul 2016 11:53:19 +0300 (EEST) X-SMTP-Auth-NETI-Businessmail: no Received: from dell2 (66.63.196.88.sta.estpak.ee [88.196.63.66]) by HOT-Relayhost1.estpak.ee (Postfix) with ESMTPS id BFBC4319; Wed, 6 Jul 2016 11:53:16 +0300 (EEST) Message-ID: From: "Andrus" To: , "Adrian Klaver" References: <6BCE831703094A8287071F2E5DAB4C8C@dell2> <292539c2-5a39-0b56-fb9f-2ec2e13b0674@aklaver.com> <48fa3b3c-462c-2b2d-7dc9-c0f08883db5e@aklaver.com> <07661375-bd1c-c19a-e5f1-460fc9dc3376@aklaver.com> In-Reply-To: <07661375-bd1c-c19a-e5f1-460fc9dc3376@aklaver.com> Subject: Re: How to get correct error message before logging to database Date: Wed, 6 Jul 2016 11:53:13 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1257"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-Pg-Spam-Score: -2.5 (--) 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 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 ? I posted it also in http://stackoverflow.com/questions/38212586/how-to-get-proper-error-message-before-logging-in-from-psqlodbc-driver Andrus. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc