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 1ree0g-00CaQl-Qk for pgsql-general@arkaria.postgresql.org; Mon, 26 Feb 2024 16:39:23 +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 1ree0f-00FAIu-Fc for pgsql-general@arkaria.postgresql.org; Mon, 26 Feb 2024 16:39:21 +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 1ree0f-00FAIm-5Y for pgsql-general@lists.postgresql.org; Mon, 26 Feb 2024 16:39:21 +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 1ree0Z-001Cv1-1V for pgsql-general@lists.postgresql.org; Mon, 26 Feb 2024 16:39:21 +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 41QGdBom1812659; Mon, 26 Feb 2024 11:39:11 -0500 From: Tom Lane To: Adrian Klaver cc: Sasmit Utkarsh , pgsql-general@lists.postgresql.org Subject: Re: Clarity regarding the procedures call in postgresql for public and non-public schema In-reply-to: <71a7e68b-4514-41e7-b5ca-f6b3426ca47a@aklaver.com> References: <71a7e68b-4514-41e7-b5ca-f6b3426ca47a@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Mon, 26 Feb 2024 08:24:34 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1812657.1708965551.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 26 Feb 2024 11:39:11 -0500 Message-ID: <1812658.1708965551@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian Klaver writes: > On 2/26/24 04:26, Sasmit Utkarsh wrote: >> ***Facing the below issue, while calling the below procedures in public >> and non-public schema *shc* for ( *shc_uadmin* user) > 1) From the error message: > "ERROR: procedure sql_select_size_procedure(text, > integer, unknown) does not exist" > "No procedure matches the given name and argument types" This perhaps would be better understood as "there is no matching procedure in the current search_path". The fact that it works as one user and not as another could be explained if the users have different search paths. regards, tom lane