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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Sasmit Utkarsh <utkarshsasmit(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Need Assistance: Command to display procedures does not work
Date: 2024-02-28 16:03:25
Message-ID: 545a6cd8-aa5b-45aa-8621-158ea355a09a@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/28/24 07:53, Sasmit Utkarsh 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 above is not enough of a hint?

Use psql version 14 as:

https://www.postgresql.org/docs/11/release-11.html

Replace system catalog pg_proc's proisagg and proiswindow columns with
prokind (Peter Eisentraut)

> SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits:
> 256, compression: off)
> Type "help" for help.
>
> *shc_data=> \df*
> *ERROR:  column p.proisagg does not exist
> LINE 6:   WHEN p.proisagg THEN 'agg'
>                ^
> HINT:  Perhaps you meant to reference the column "p.prolang".*
> *
> *
> 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)
>
>
> Regards,
> Sasmit Utkarsh
> +91-7674022625

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sasmit Utkarsh 2024-02-28 16:52:01 Re: Need Assistance: Command to display procedures does not work
Previous Message Sasmit Utkarsh 2024-02-28 15:53:50 Need Assistance: Command to display procedures does not work