Re: How to get correct error message before logging to database

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: <pgsql-odbc(at)postgresql(dot)org>, "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>
Subject: Re: How to get correct error message before logging to database
Date: 2016-07-05 14:50:15
Message-ID: AA524971917A4C25AD1EAF6EA49D2557@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi!

> What application is actually throwing the error?

Visual FoxPro.
It uses message returned from odbc using AERROR() function.

>Is the above a direct quote or a translation?

It is direct quote. Copied from windows messagebox using Ctrl+C

> I ask because I do not find it in the 09.05.0300 source.

Maybe Windows ODBC or VFP cannot retrieve error message and thus return
this.

> Earlier versions of drivers returned correct error message.
>Which version(s) exactly.

09.00.0101 and previous versions.

>What message did they return?

They returned messages like:

FATAL: password authentication failed for user "xxx"

fe_sendauth: no password supplied

could not translate host name "xxxxx" to address: Unknown server error

After logged in normal messages appear.

Andrus.

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2016-07-05 15:45:06 Re: How to get correct error message before logging to database
Previous Message Adrian Klaver 2016-07-05 14:25:25 Re: How to get correct error message before logging to database