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.92) (envelope-from ) id 1j5w5S-0000rR-Ny for pgsql-general@arkaria.postgresql.org; Sun, 23 Feb 2020 18:34:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5w5R-0001UY-5t for pgsql-general@arkaria.postgresql.org; Sun, 23 Feb 2020 18:34:41 +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 1j5w5Q-0001UR-Rv for pgsql-general@lists.postgresql.org; Sun, 23 Feb 2020 18:34:40 +0000 Received: from [64.147.123.25] (helo=wout2-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5w5N-00006R-Hk for pgsql-general@postgresql.org; Sun, 23 Feb 2020 18:34:40 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C741F5BE; Sun, 23 Feb 2020 13:34:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 23 Feb 2020 13:34:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=q VCH6WJGr+JBH4HPIGWlyJ1tfOKjboTE0Gix1Ng1/1s=; b=sYMurSYP3AdLhd6vl SLfLTDO07exk8tSDPdf974i+quDogkP8wnYW2M9s3Xt4GBgRhYSLNaRTup7u3YRx shkKFZ1+aQ+uZhcL6AXnaiLjxI56S+7O/itePgDgOiEOcK+Mgp1unCh1htlV8RdI UeMGW2dzCAIERiIVPY96dbB+smvEgKchAH5qRuiEYeOJCmb9xcUWjdWCmjDCycow CvTscsJlBlCinGvfw3YxAZjlR3ySYkzgKMn/fOrW0hBlUhu/EY9PRwDfSwPymN7F V9h1DyoaNfPIy1Eo1coNVtNgN+z1hwm8aGq/RZV0SPjAN2fiZdU2J09gi0AY1/6G kXqZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=qVCH6WJGr+JBH4HPIGWlyJ1tfOKjboTE0Gix1Ng1/ 1s=; b=VEefMqUmeg1cLkAQFcxESoK+S7F+lpO2NGcfCvtX+2I2fWaERQnNr1j1u 9diK9rYEnzM6IBGqruFD9ZdqgWpkvwdPT+H+ntSWLnKQTizO94RvB715+lh4o19H BanRxnzlpQ68rBbW47Rhc44zlkqkY1qCB14ozTaYxvW52YFQiOUslQ9nJpOee2qn mYmfFKZKiZmZUdP8W8uY/TrQhn/kkeB+dFKZQ1PfL1+wyj4gKbnAj0C5rrT5xArC dsnhS1EoId42s2OyWhnFDvzWebv1eoE2WTZ+eHREuK+RMRDhWgrT2YPtyclOzPYU 1zCDjs6gfJRoqMok711aKZdaD7vTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeekgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfehhnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddruddvledrud elfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegr ughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id 957BE3060D1A; Sun, 23 Feb 2020 13:34:23 -0500 (EST) Subject: Re: How to get error message details from libpq based psqlODBC driver (regression) To: Andrus , pgsql-general References: <494B191537234C4A81D7A56848B9946D@dell2> From: Adrian Klaver Message-ID: <1aae144e-3b2b-38cc-0b4e-222960ff95a7@aklaver.com> Date: Sun, 23 Feb 2020 10:34:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <494B191537234C4A81D7A56848B9946D@dell2> Content-Type: text/plain; charset=windows-1257; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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