Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5nEc-0007Aw-EG for pgsql-general@arkaria.postgresql.org; Sun, 23 Feb 2020 09:07:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5nDa-0000jP-TD for pgsql-general@arkaria.postgresql.org; Sun, 23 Feb 2020 09:06:30 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5nDa-0000jI-Ig for pgsql-general@lists.postgresql.org; Sun, 23 Feb 2020 09:06:30 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5nDU-0003mI-4X for pgsql-general@postgresql.org; Sun, 23 Feb 2020 09:06:29 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 044811B8C; Sun, 23 Feb 2020 11:06:23 +0200 (EET) 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 DzaD+5SQBZY8; Sun, 23 Feb 2020 11:06:20 +0200 (EET) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id C97671B6E; Sun, 23 Feb 2020 11:06:20 +0200 (EET) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost2.estpak.ee (Postfix) with ESMTPSA id 48QK7H3qS4z1qf; Sun, 23 Feb 2020 11:06:18 +0200 (EET) Message-ID: <494B191537234C4A81D7A56848B9946D@dell2> From: "Andrus" To: "pgsql-general" , "Adrian Klaver" References: In-Reply-To: Subject: Re: How to get error message details from libpq based psqlODBC driver (regression) Date: Sun, 23 Feb 2020 11:06:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1257"; reply-type=response 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 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >What does the log_error_verbosity setting in postgresql.conf show? It is not set. postgresql.conf contains it default value from installation: #log_error_verbosity = default # terse, default, or verbose messages I changed it to log_error_verbosity = verbose but problem persists. postgres log file contains 2020-02-23 09:02:27.646 GMT [11252] ERROR: 23503: insert or update on table "rid" violates foreign key constraint "rid_yhik_fkey" 2020-02-23 09:02:27.646 GMT [11252] DETAIL: Key (yhik)=(xx ) is not present in table "mootyhik". 2020-02-23 09:02:27.646 GMT [11252] LOCATION: ri_ReportViolation, d:\pginstaller_12.auto\postgres.windows-x64\src\backend\utils\adt\ri_triggers.c:2474 2020-02-23 09:02:27.646 GMT [11252] STATEMENT: insert into rid (dokumnr, yhik) values (2065, 'xx') but application shows only ERROR: insert or update on table "rid" violates foreign key constraint "rid_yhik_fkey" Andrus.