pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to get error message details from libpq based psqlODBC driver (regression)
Date: Sun, 23 Feb 2020 10:34:22 -0800
Message-ID: <1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com> (raw)
In-Reply-To: <494B191537234C4A81D7A56848B9946D@dell2>
References: <A7FCF8D5FF9D43299357665878A0BCA0@dell2>
	<a4546360-1fa0-b6e5-b2ad-f99b84f352f0@aklaver.com>
	<494B191537234C4A81D7A56848B9946D@dell2>

On 2/23/20 1:06 AM, Andrus wrote:
> 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"

I don't have an answer for you. There maybe someone else on this list 
that could help, though I think your best bet would be to ask the 
question again on the pgsql-odbc list.

> 
> Andrus.


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (6+ messages)  latest in thread

Message-ID: <1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com>
Permalink:  ../1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com/
Also on:    postgresql.org/message-id/1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com

 · 

reply

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: adrian.klaver@aklaver.com, kobruleht2@hot.ee
  Subject: Re: How to get error message details from libpq based psqlODBC driver (regression)
  In-Reply-To: <1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com>
  References: <A7FCF8D5FF9D43299357665878A0BCA0@dell2> <a4546360-1fa0-b6e5-b2ad-f99b84f352f0@aklaver.com> <494B191537234C4A81D7A56848B9946D@dell2> <1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com>

* 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