pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sasmit Utkarsh <utkarshsasmit@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Need Assistance: Command to display procedures does not work
Date: Wed, 28 Feb 2024 09:05:53 -0800
Message-ID: <665d481a-fdb2-44c2-8809-eae871d1b947@aklaver.com> (raw)
In-Reply-To: <CAM-5MT0zoUC6EYqYQ_fZLuao3HB6P3MKjbAsTN--k2eDr5KT1A@mail.gmail.com>
References: <CAM-5MT3+Gk11krD5cYQv42usQ43aD_p3ZC==a9ZKxH5SQ_N+8A@mail.gmail.com>
	<545a6cd8-aa5b-45aa-8621-158ea355a09a@aklaver.com>
	<CAM-5MT0zoUC6EYqYQ_fZLuao3HB6P3MKjbAsTN--k2eDr5KT1A@mail.gmail.com>

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






view thread (11+ messages)  latest in thread

Message-ID: <665d481a-fdb2-44c2-8809-eae871d1b947@aklaver.com>
Permalink:  ../665d481a-fdb2-44c2-8809-eae871d1b947@aklaver.com/
Also on:    postgresql.org/message-id/665d481a-fdb2-44c2-8809-eae871d1b947@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, utkarshsasmit@gmail.com
  Subject: Re: Need Assistance: Command to display procedures does not work
  In-Reply-To: <665d481a-fdb2-44c2-8809-eae871d1b947@aklaver.com>
  References: <CAM-5MT3+Gk11krD5cYQv42usQ43aD_p3ZC==a9ZKxH5SQ_N+8A@mail.gmail.com> <545a6cd8-aa5b-45aa-8621-158ea355a09a@aklaver.com> <CAM-5MT0zoUC6EYqYQ_fZLuao3HB6P3MKjbAsTN--k2eDr5KT1A@mail.gmail.com> <665d481a-fdb2-44c2-8809-eae871d1b947@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