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.98.2) (envelope-from ) id 1xL4hJ-00000001I7u-1ZU7 for pgsql-general@arkaria.postgresql.org; Sun, 25 Oct 2026 20:20:05 +0000 Received: from localhost ([127.0.0.1]:56812 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xL4hI-00000000pu0-3GiB for pgsql-general@arkaria.postgresql.org; Sun, 25 Oct 2026 20:20:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:51442) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xL4hI-00000000pts-1uL0 for pgsql-general@lists.postgresql.org; Sun, 25 Oct 2026 20:20:04 +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.98.2) (envelope-from ) id 1xL4hC-00000000wfO-1dDr for pgsql-general@lists.postgresql.org; Sun, 25 Oct 2026 20:20:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 69PKJpc6409606; Sun, 25 Oct 2026 16:19:51 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 sss.pgh.pa.us 69PKJpc6409606 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sss.pgh.pa.us; s=default; t=1792959591; bh=NENIG03QiZOk+KFV7Qd6S3Xf8icnu9eIhvIoCM9Zodg=; h=From:To:cc:Subject:In-reply-to:References:Date:From; b=gwmSIDanP8HsopXMVpSrNRthWSmUF/IDlumj35wvxi6ZcliW54p2QL5UzOadpNOXg QnndP2HoX0jQF3+UBCcX9xmR0toV9MkhGFjHvaxJnmAv5DinQUMaDV/KUahuIcO+EM GdjeewkQfALGd/olLI39bducZJ2Dd3+6OF+3SviQ= From: Tom Lane To: Adrian Klaver cc: Mark , pgsql-general@lists.postgresql.org Subject: Re: Debugging --- ERROR: function does not exist In-reply-to: <96b548fc-65b8-413a-bdd3-345f94f029c4@aklaver.com> References: <322082.1792933209@sss.pgh.pa.us> <75654f90-b8a6-42f7-b71a-2591c4e9bc0d@aklaver.com> <335265.1792951220@sss.pgh.pa.us> <96b548fc-65b8-413a-bdd3-345f94f029c4@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Sun, 25 Oct 2026 12:55:53 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <409604.1792959591.1@sss.pgh.pa.us> Date: Sun, 25 Oct 2026 16:19:51 -0400 Message-ID: <409605.1792959591@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian Klaver writes: > So is the problem down to the OP defining a function not a procedure and > therefore not being able to use CALL to get at the OUT parameters? Yeah. I was thinking that plpgsql's version of CALL was more forgiving of that, but I was wrong: it too wants the target to be declared as a procedure. regards, tom lane