From: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Subject: Re: How to get error message details from libpq based psqlODBC driver (regression)
Date: Sun, 23 Feb 2020 11:06:09 +0200
Message-ID: <494B191537234C4A81D7A56848B9946D@dell2> (raw)
In-Reply-To: <a4546360-1fa0-b6e5-b2ad-f99b84f352f0@aklaver.com>
References: <A7FCF8D5FF9D43299357665878A0BCA0@dell2>
<a4546360-1fa0-b6e5-b2ad-f99b84f352f0@aklaver.com>
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.
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-general@postgresql.org
Cc: kobruleht2@hot.ee, adrian.klaver@aklaver.com
Subject: Re: How to get error message details from libpq based psqlODBC driver (regression)
In-Reply-To: <494B191537234C4A81D7A56848B9946D@dell2>
References: <A7FCF8D5FF9D43299357665878A0BCA0@dell2> <a4546360-1fa0-b6e5-b2ad-f99b84f352f0@aklaver.com> <494B191537234C4A81D7A56848B9946D@dell2>
* 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