Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuyY2-0005KQ-Fx for pgsql-general@arkaria.postgresql.org; Wed, 29 Aug 2018 11:22:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuyY0-0007gS-G4 for pgsql-general@arkaria.postgresql.org; Wed, 29 Aug 2018 11:22:04 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuyY0-0007gL-81 for pgsql-general@lists.postgresql.org; Wed, 29 Aug 2018 11:22:04 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuyXw-0004uy-UJ for pgsql-general@postgresql.org; Wed, 29 Aug 2018 11:22:03 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 1EC4FECD5BDE for ; Wed, 29 Aug 2018 04:21:59 -0700 (MST) Date: Wed, 29 Aug 2018 04:21:59 -0700 (MST) From: TalGloz To: pgsql-general@postgresql.org Message-ID: <1535541719123-0.post@n3.nabble.com> In-Reply-To: <019001d43f86$11742960$345c7c20$@swisspug.org> References: <1535533938898-0.post@n3.nabble.com> <019001d43f86$11742960$345c7c20$@swisspug.org> Subject: RE: Executing a Function with an INSERT INTO command fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Charles Clavadetscher wrote > Do you get any error? The function executes perfectly and does what it's supposed to except of th= e INSERT INTO part. I don't get any errors. > Does the select deliver any result at all?=20 Yes, booth SELECT deliver everything they supposed to. > If yes, is there maybe already a trigger on table > public.runtime_benchmark? I didn=E2=80=99t crate any triggers for the table manually and I don't thin= k they are crated automatically. > If not, is there maybe a policy on either public.nyc2015_09_enc or > public.runtime_benchmark? There are no security policy on any of them, at least I didn't set any whil= e creating the tables with PgAdmin4. I use the tables on a local server for testing purposes only. > If not, could you provide more information on the table? What kind of information should I provide? Best regards, Tal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.ht= ml