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 1rfNbr-00HJOv-St for pgsql-general@arkaria.postgresql.org; Wed, 28 Feb 2024 17:20:48 +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 1rfNbq-00D5kT-Dm for pgsql-general@arkaria.postgresql.org; Wed, 28 Feb 2024 17:20:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rfNbq-00D5kL-3I for pgsql-general@lists.postgresql.org; Wed, 28 Feb 2024 17:20:46 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rfNbm-001r2X-VF for pgsql-general@postgresql.org; Wed, 28 Feb 2024 17:20:45 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 9DEEB3200A0F; Wed, 28 Feb 2024 12:20:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 28 Feb 2024 12:20:42 -0500 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=fm3; t=1709140842; x=1709227242; bh=nSiS1i5cCM4RH/5Ngcw68Kd75He9v1171T7qOsWq42U=; b= Rpb64xFQx/CgGG+65Hc2zlN7UB39hO//mrM77ImSlGnUODqMT24+sqrVhxp4Herr 4Amq98fwrwCA5Gq4aj7vFZtN3QPT1/EpVqDWRo8agcD0sTTUfhL9Cpsi/BSRDU75 ixFcwnEV3+h0LwyAT4XCv7KfzOOkZxt8H7AIbosebSp4M2NjbhhaArfCp1YlUS8O aviYoA5b2GvtGKC8oYzs2xFxHALAaSVR4UbgTbS2WnsIC3y5bgv1R/ITlaKgknqR jIGUujklmrtF3zXBtnWOozHWTol2TJK4d081Sdrzv7igSAVknWolRTqtbie12HoO lUvwqIJxMYEIRPU+nHSPjQ== 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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709140842; x= 1709227242; bh=nSiS1i5cCM4RH/5Ngcw68Kd75He9v1171T7qOsWq42U=; b=Z FZlzX8BBGV9aP+I0qq8rpMov4ykUWz67tmZwrF6EpvrfjF4p7WtZ5oBGjPMPlA+d 41snaIyGloKwl0Uo77k3lVVZGUCHWyYTnIJvtSt+CXrfAnV4Sq9jsyqKZVS8YEOR yBHOhe9NMtKhp9SMPoqlUSEzyB/uJrp/C2eogKVKSX8qb1fRZEd/zt44jvEwIRIH 9mvpj1d21tYsMLENPcXHlyfwJGnpYz63ZvJWyu5ou7SzmCnh/Qr1xJVt4ceo4mdD zv92nwo5T7l8L/k3e9W+2qvk6gGHJRSdKlw+0gebB9h+sItOc22Iah6a7vGlmycQ H+WGAQ4R+ckI1jOCt7D9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeejgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfvefhjggtgfesthekredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeffveehgffgtdfgfedvtdejteetgedttdeujefhleei jeehiedtjeeggfegiedugfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Feb 2024 12:20:41 -0500 (EST) Message-ID: Date: Wed, 28 Feb 2024 09:20:40 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need Assistance: Command to display procedures does not work Content-Language: en-US To: Sasmit Utkarsh References: <545a6cd8-aa5b-45aa-8621-158ea355a09a@aklaver.com> <665d481a-fdb2-44c2-8809-eae871d1b947@aklaver.com> Cc: pgsql-general From: Adrian Klaver In-Reply-To: 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 2/28/24 09:13, Sasmit Utkarsh wrote: Reply to list also Ccing list > HI Adrian, > > Related to shc shema, they were part of different host/machine. > Currently, I'm seeing the result for this discrepancy on another server > machine where we have only a public schema. 1) I doubt that if this is the database you are showing in your pgAdmin4 screenshot. 2) The information I asked for in my previous post is still relevant and needs answering. 3) Add pronamespace::regnamespace to your SELECT query to get the schema names for the the functions. > > > Regards, > Sasmit Utkarsh > +91-7674022625 > > > On Wed, Feb 28, 2024 at 10:35 PM Adrian Klaver > > wrote: > > On 2/28/24 08:52, Sasmit Utkarsh wrote: > > Hi Adrian, > > > > Thanks for the info, But I have another question: I could see the > below > > functions list with the help on query execution on psql command line > > > >    shc_data=> S*ELECT proname AS function_name,proacl AS > privileges FROM > > pg_proc WHERE proname in > > > ('sql_insert_data_procedure','sql_select_data_procedure','sql_select_size_procedure','sql_update_data_procedure');* > >         function_name       | privileges > > ---------------------------+------------ > >   sql_select_size_procedure | > >   sql_select_data_procedure | > >   sql_insert_data_procedure | > >   sql_update_data_procedure | > > (4 rows) > > > > but when I try to connect to the same db on PgAdmin4, I don't see > the > > list even after refresh. Why is that different? > > 1) Are you sure you are connecting to correct database. > > 2) If I followed your previous posts correctly those functions where > not > in the public schema you are looking at in pgAdmin4. They where in the > shc(?) schema which I am pretty sure is the second schema in the > Schemas(2) in the object tree. > > > >  Thet > > image.png > > > > > > > > > > > > Regards, > > Sasmit Utkarsh > > +91-7674022625 > > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com