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 1xL4L3-00000001HvA-24om for pgsql-general@arkaria.postgresql.org; Sun, 25 Oct 2026 19:57:06 +0000 Received: from localhost ([127.0.0.1]:51502 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xL4K3-00000000jjG-1IJw for pgsql-general@arkaria.postgresql.org; Sun, 25 Oct 2026 19:56:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:51342) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xL4K2-00000000jj7-0Aqk for pgsql-general@lists.postgresql.org; Sun, 25 Oct 2026 19:56:02 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xL4Jy-00000000wV8-0NC0 for pgsql-general@lists.postgresql.org; Sun, 25 Oct 2026 19:56:01 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 436B3EC0116 for ; Sun, 25 Oct 2026 15:55:55 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 25 Oct 2026 15:55:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1792958155; x=1793044555; bh=c7UQ06TvBTiBcuQV2AiMw8CZo7I894qQL2CvOUDNakM=; b= imjhH5XU9zq/SJa5svxvAMLSI9Yz1wdMkr7pd7xulB/2Yz1QfLrvvMZ7s9GnPfQA XXXUxP3KazYc+ZpLSeRlwr3j4oEj2nWSRiTSocrDU1jM1i+ygc2Gdz6YIJbJUcrM JfOiUA4oBbqTGs9Mava4iNbI3zx/PvIVEcddl6fBXT3/FP+Jy8vcIn8N77U1bo1S kyXgXtDwEqIu3kat5sNrFmvGPYO8tiveYBs/9v+3GT8DkCEzq81cXzDgb2jmPrBn pnSYLSwZb6np6wd0pecilXmPUSlgjZLWSpqY2cduqcYOJD7cDclIYQ/wzK6YGlBw Z/51NbC7okvgv7Wcsu5B5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1792958155; x= 1793044555; bh=c7UQ06TvBTiBcuQV2AiMw8CZo7I894qQL2CvOUDNakM=; b=m tMjfS6o2GiuV+5gVIOArNag/ngsNrBexiWZ2ppW/oAeE3iijU47LbykW6+sAWqsG dYhDyjF+tyGAqSZW+ObiK/7oq0ryCZ/FOYmAKi5cd/jJUA5/WA3QpFVbad1tqLFM rch5qVQA3t0/yLuCDcPh91/NQmu/5N4Fn9tY38D7R4MBy6YxAgLe7Dc6X+ps++Oc H3psr1Sgw1SEsgwmAY8rVPtHpczD9ZXyxrDUnv0SRzTqIrpjmKkTrE6YlVDTP170 r5S6Sozrqyim+VCFlfrT1FxiTF2yZQXGNpfU5TFDo5Hjif7g3ycSWJLDJyHJfJ/O Vqf+mcdR4I691sj+X5QzQ== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07; repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox; action=sign d=aklaver.com a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1792958155; d=aklaver.com; mf=PGFkcmlhbi5rbGF2ZXJAYWtsYXZlci5jb20+; rt=PHBnc3FsLWdlbmVyYWxAbGlzdHMucG9zdGdyZXNxbC5vcmc+; s=fm1:rsa-sha256:mmrjj3gyhWp8dx7Q8JshEHk1eSC62qE0dMjLoTu8opdKx9J 1I1Rim3fN1KkZCf4aek/JAjT+FWNDnGL0rtVt2n62FTPWfAYDklwTRkMZbE3uLob PBQuQwUn2niXInv58yHaiTz0nKRJefvRkSnT7jo2pwQ9yAq/p7e4AwM5N4WcGCqA 7yjksMJdHk6zVyBuIygq2BykezGMUTeQ/5SpYGljSJGAhG0OaBoCMcGqmICL5PaV YR2uV1drU9MLA06ftTHWISMn1oZkjG5g4PGtChWgDUI2tOjAxq8Fz4VUnKkasiUZ uIte79vX8sxmeqw+fwXUsklK0nYURA8pTQGU1sA==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07; repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox; action=mi-m=1; hc=14; hn=cc,content-language,content-transfer-encoding,content-type, date,feedback-id,from,in-reply-to,message-id,mime-version, references,subject,to,user-agent; Message-Instance: m=1; h=sha256:JaB8FOsLBZ7zxHZG+Ao4R0PPcoQxSDgSE4o5KY2LJqk=:q04m+8MVSz4CPLJb95dgztEfbqPdxTQ9fsLBXVYwBxo=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGGDtsErOho011PLHLAWbGekW1JIGGya+zVBToQdvhRuNatOT5oUAk3Rq/sBPsp5T wISQgjCGuepCj/1tqXMVWHo558Soh244ree5znh77OauFLAVf1sQ9hY2OtAHeHivCXY17G zfCDYvsoKjQUcnhe/ljUO4066QITTw8x872ACXYuMydOSCjy8mOEWuyAepCmmKYDgPtrFt 0Rq6D0YnlK1NGTPLvnLUvSfwU6EvPh/i5Nylhp+datVHouiiUrncdEWfXT+J3WChkSowgr kTw/yROx0IckF6WRacmlJog2Um6uTI0NrKOfd1BbzSydBecsOVM+hB5u3qtQ//pCdwegPC b+aYM4mdeCoq1n3CkkoTlB+6vbqflLbC+Y4pNN4/qQuXSdYIKGN9UQNtbr8mRaZ/7srfnB yYWnzvFxqNFjRbBHnC7mWiy/LLQ6UPo7OK0GXdQydeAArFWdURawebhPg4b9So/auAajr8 LB9HEnAgLu0S/jaf3/CC4Obz3BgyWRjOOyZzAr6VFKSFtMRoYiotoFp/a7q6cRuJuYPBjM ew/itwwU02RxPkL3+BayU8YEWi7E6UrTbcZjLN50PSVvRhUhUUHRKGUCtQ/mk/lWEsDuPG MwXCXHARIHqEx60S2vs0uqIX7pg1bOMHIik1H46lbs5wO2uyolc0pvpkW2Tw X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Oct 2026 15:55:54 -0400 (EDT) Message-ID: <96b548fc-65b8-413a-bdd3-345f94f029c4@aklaver.com> Date: Sun, 25 Oct 2026 12:55:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Debugging --- ERROR: function does not exist To: Tom Lane Cc: Mark , pgsql-general@lists.postgresql.org References: <322082.1792933209@sss.pgh.pa.us> <75654f90-b8a6-42f7-b71a-2591c4e9bc0d@aklaver.com> <335265.1792951220@sss.pgh.pa.us> Content-Language: en-US From: Adrian Klaver In-Reply-To: <335265.1792951220@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/25/26 11:00 AM, Tom Lane wrote: > Adrian Klaver writes: >> On 10/25/26 8:34 AM, Mark wrote: >>      "To call a function with OUT parameters, omit the output >>      parameter(s) in >>      the function call: ..." > > That's what you do in SELECT, but in CALL you write all six > arguments (and the ones corresponding to OUT parameters > have to be variables). From here: https://www.postgresql.org/docs/current/sql-call.html "CALL executes a procedure." "To call a function (not a procedure), use SELECT instead." 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? > > regards, tom lane -- Adrian Klaver adrian.klaver@aklaver.com