Re: Need Assistance: Command to display procedures does not work

From: Sasmit Utkarsh <utkarshsasmit(at)gmail(dot)com>
To: Rob Sargent <robjsargent(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Need Assistance: Command to display procedures does not work
Date: 2024-02-28 17:08:46
Message-ID: CAM-5MT0s8ZWU+0dzb1XnTqt8tSB-tvu54TCABgMFE8dO+Kx3=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Rob

So which one could I rely on for better information? probably, results
shown by PgAdmin4 right? As I get the below when I try to drop procedure
through psql cmd and i see the procedure getting fetched from the query

shc_data=> SELECT 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)

shc_data=> DROP PROCEDURE *sql_insert_data_procedure*;
ERROR: could not find a procedure named "sql_insert_data_procedure"
shc_data=>

Regards,
Sasmit Utkarsh
+91-7674022625

On Wed, Feb 28, 2024 at 10:25 PM Rob Sargent <robjsargent(at)gmail(dot)com> wrote:

>
>
> > On Feb 28, 2024, at 8:53 AM, Sasmit Utkarsh <utkarshsasmit(at)gmail(dot)com>
> wrote:
> >
> > Hi Postgresql Team,
> >
> > Getting error while executing the below \df command to list the
> procedures/functions. whereas query gives the appropriate results Please
> assist on how to troubleshoot this.
> >
> > [sutkarsh-a(at)dxctravel(dot)svcs(dot)entsvcs(dot)com@zuccmshcd2 data-exports]$ psql
> "host=10.166.18.116 port=5432 dbname=shc_data user=shc_admin
> password=abc123 sslmode=require"
> > psql (10.23, server 14.9)
> > WARNING: psql major version 10, server major version 14.
> > Some psql features might not work.
>
> The version difference between your psql client installation and the
> server installation is the problem.
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2024-02-28 17:11:39 Re: Unable to get PostgreSQL 15 with Kerberos (GSS) working
Previous Message Adrian Klaver 2024-02-28 17:05:53 Re: Need Assistance: Command to display procedures does not work