Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiExH-005f3S-UA for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Sep 2023 14:10:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qiExG-0015rN-BY for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Sep 2023 14:10:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiExG-0015r8-2K for pgsql-bugs@lists.postgresql.org; Mon, 18 Sep 2023 14:10:26 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiExD-005uZR-Ck for pgsql-bugs@lists.postgresql.org; Mon, 18 Sep 2023 14:10:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 38IEALqh114628; Mon, 18 Sep 2023 10:10:22 -0400 From: Tom Lane To: wlaunhardt@web.de cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18116: This is definitiv a BUG in INOUT parameter in stored procedures in Postgres 12.16 In-reply-to: <18116-0a17d1321c9d94ea@postgresql.org> References: <18116-0a17d1321c9d94ea@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 18 Sep 2023 11:46:22 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <114626.1695046221.1@sss.pgh.pa.us> Date: Mon, 18 Sep 2023 10:10:21 -0400 Message-ID: <114627.1695046221@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Please don't send me that again - it is a BUG ! : Maybe, but you haven't shown us a reproducible example. What I get from the fragments you gave here is ERROR: ptest(text[]) is not a procedure LINE 1: CALL ptest( test ) ^ HINT: To call a function, use SELECT. QUERY: CALL ptest( test ) CONTEXT: PL/pgSQL function inline_code_block line 6 at CALL I suspect that the underlying problem may involve a SQL declaration for "ptest" that doesn't match what the C code does, so I'm not going to guess at what you actually used as the SQL declaration. But clearly it's not what you wrote here. regards, tom lane