pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Mark <nvpostgres@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Debugging --- ERROR: function does not exist
Date: Mon, 26 Oct 2026 07:43:23 -0700
Message-ID: <7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com> (raw)
In-Reply-To: <CAAm-KOvwfZVNLLSWfZe1LgmhSe96SJfChPuukG0Z6JxoGo95zw@mail.gmail.com>
References: <CAAm-KOsbEWVBjv6C80g-WgDF-87Wc90_4X+AWvSO=Fw1ps5=6g@mail.gmail.com>
	<322082.1792933209@sss.pgh.pa.us>
	<CAAm-KOvOnCw8YEMKh8NLvJoHzm2R3A3_xW=9ecf4+mdMV=xPEg@mail.gmail.com>
	<a34cf760-8d6c-49bb-be80-43c5b4a499ee@aklaver.com>
	<CAAm-KOtDssDv-qQ=FCP9A6J95k56x=VhQi=1mo5bBEkrStr3qg@mail.gmail.com>
	<ef3c60f8-f21b-4b30-bd2a-140b36fd3954@aklaver.com>
	<CAAm-KOtD7AC-L-=zjnz-0qpGVZKQcshEJ0kMdnJPFscqGsAHxA@mail.gmail.com>
	<75654f90-b8a6-42f7-b71a-2591c4e9bc0d@aklaver.com>
	<335265.1792951220@sss.pgh.pa.us>
	<96b548fc-65b8-413a-bdd3-345f94f029c4@aklaver.com>
	<409605.1792959591@sss.pgh.pa.us>
	<9bc98c9a-f5f0-424b-9eac-4cfe18820fa1@aklaver.com>
	<CAAm-KOuHoffo5c8LhqB-fwX0NUpsYbbWqJQLS2hwV7M_T+ACtw@mail.gmail.com>
	<CAAm-KOvwfZVNLLSWfZe1LgmhSe96SJfChPuukG0Z6JxoGo95zw@mail.gmail.com>

On 10/26/26 3:56 AM, Mark wrote:
> Correction for anybody who reads this later:
> 
> Adrian
> 
> I eventually got what you were hinting at, I should INOUT to supply the 
> parameters at part of the SELECT, though I feel like this is not a good 
> idea unless actually required from a security perspective (though I 
> acknowledge this will be a trivial difference)

Given that OUT is basically an alternate form of RETURNS why do you want 
to supply the OUT values to the function/procedure SELECT/CALL in the 
first place?

That would be something the function/procedure does internally using the 
IN values, where IN is either explicitly stated or implied by a lack of 
an IN/OUT/INOUT declaration.



-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (25+ messages)  latest in thread

Message-ID: <7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com>
Permalink:  ../7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com/
Also on:    postgresql.org/message-id/7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nvpostgres@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Debugging --- ERROR: function does not exist
  In-Reply-To: <7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com>
  References: <CAAm-KOsbEWVBjv6C80g-WgDF-87Wc90_4X+AWvSO=Fw1ps5=6g@mail.gmail.com> <322082.1792933209@sss.pgh.pa.us> <CAAm-KOvOnCw8YEMKh8NLvJoHzm2R3A3_xW=9ecf4+mdMV=xPEg@mail.gmail.com> <a34cf760-8d6c-49bb-be80-43c5b4a499ee@aklaver.com> <CAAm-KOtDssDv-qQ=FCP9A6J95k56x=VhQi=1mo5bBEkrStr3qg@mail.gmail.com> <ef3c60f8-f21b-4b30-bd2a-140b36fd3954@aklaver.com> <CAAm-KOtD7AC-L-=zjnz-0qpGVZKQcshEJ0kMdnJPFscqGsAHxA@mail.gmail.com> <75654f90-b8a6-42f7-b71a-2591c4e9bc0d@aklaver.com> <335265.1792951220@sss.pgh.pa.us> <96b548fc-65b8-413a-bdd3-345f94f029c4@aklaver.com> <409605.1792959591@sss.pgh.pa.us> <9bc98c9a-f5f0-424b-9eac-4cfe18820fa1@aklaver.com> <CAAm-KOuHoffo5c8LhqB-fwX0NUpsYbbWqJQLS2hwV7M_T+ACtw@mail.gmail.com> <CAAm-KOvwfZVNLLSWfZe1LgmhSe96SJfChPuukG0Z6JxoGo95zw@mail.gmail.com> <7a75e04d-7eca-4696-9f4d-8a80adafc6ab@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox