Re: function defined (or not), more worries on version 10->14 upgrade - Mailing list pgsql-general

From Adrian Klaver
Subject Re: function defined (or not), more worries on version 10->14 upgrade
Date
Msg-id 46aff424-7027-49a2-278c-4e8179306ac4@aklaver.com
Whole thread Raw
In response to function defined (or not), more worries on version 10->14 upgrade  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
On 4/15/22 9:53 AM, Rob Sargent wrote:
> The function in question is working but I'm having trouble getting at 
> it's current definition and the possibility that there are more v10->v14 
> issues in this database.  The last ERROR: below seems to me "a system 
> thing"(tm)
> 
> 
> 
>     barnard=# \df genome_threshold_mono
>                                                       List of functions
>       Schema |         Name          | Result data type
>     |                  Argument data types                   | Type
>
--------+-----------------------+------------------+--------------------------------------------------------+------
>       public | genome_threshold_mono | uuid             | pbs_name text,
>     genome_name text                        | func
>       public | genome_threshold_mono | uuid             | pbs_name text,
>     genome_name text, conf double precision | func
>     (2 rows)
> 
>     barnard=# \df genome_threshold_mono(pbs_name text, genome_name text,
>     conf double precision);
>     ERROR:  invalid regular expression: parentheses () not balanced

Don't use the column names just the data types:

\df genome_threshold_mono(text, text, double precision);

> The supplied arguments to the function in question are obviously bogus, 
> but the reaction is correct, including call to nested functions.


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: function defined (or not), more worries on version 10->14 upgrade
Next
From: Adrian Klaver
Date:
Subject: Re: function defined (or not), more worries on version 10->14 upgrade