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 1gtHZD-0005tK-MD for pgsql-admin@arkaria.postgresql.org; Mon, 11 Feb 2019 19:48:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtHZC-0003f3-GB for pgsql-admin@arkaria.postgresql.org; Mon, 11 Feb 2019 19:48:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtHZC-0003ew-5Q for pgsql-admin@lists.postgresql.org; Mon, 11 Feb 2019 19:48:34 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtHZ9-0002fG-I9 for pgsql-admin@lists.postgresql.org; Mon, 11 Feb 2019 19:48:32 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 7A98FCAD4B; Mon, 11 Feb 2019 19:48:30 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TKZ_cmIPYEGx; Mon, 11 Feb 2019 19:48:30 +0000 (UTC) Received: from [10.25.225.169] (unknown [159.182.1.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 7968ECACD1; Mon, 11 Feb 2019 19:48:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: insert data with invalid input syntax for integer:"42P01" From: Scott Ribe In-Reply-To: <2112371589.1866229.1549913142122@mail.yahoo.com> Date: Mon, 11 Feb 2019 12:48:25 -0700 Cc: "David G. Johnston" , Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <89C6056F-E03F-4844-B454-B6868C9061E0@elevated-dev.com> References: <2112371589.1866229.1549913142122.ref@mail.yahoo.com> <2112371589.1866229.1549913142122@mail.yahoo.com> To: Pepe TD Vo X-Mailer: Apple Mail (2.3445.102.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk your trigger is defined to call = cidr_staging.trigger_fct_tr_stg_adjudicative_status_ins, the error is = report from there, but you give a definition for = cidr_staging.trigger_fct_tr_stg_adjudicative_status_in, is that a = copy/paste error, or have you actually posted the definition of a = different procedure than the one in question? > even I take the "E" values out the error is still occurred but if I = dropped the function and trigger, the insert is fine One more time: ***WHY*** are doing that?