pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: function defined (or not), more worries on version 10->14 upgrade
Date: Fri, 15 Apr 2022 10:07:00 -0700
Message-ID: <6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@aklaver.com> (raw)
In-Reply-To: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com>
References: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com>

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(pbs_name text, genome_name text,
>     conf double precision);
>     ERROR:  invalid regular expression: parentheses () not balanced

Previous post left out the documentation:

https://www.postgresql.org/docs/current/app-psql.html

See **...** portion, my addition.

\df[anptwS+] [ pattern [ arg_pattern ... ] ]

     Lists functions, together with their result data types, argument 
data types, and function types, which are classified as “agg” 
(aggregate), “normal”, “procedure”, “trigger”, or “window”. To display 
only functions of specific type(s), add the corresponding letters a, n, 
p, t, or w to the command. If pattern is specified, only functions whose 
names match the pattern are shown. **Any additional arguments are 
type-name patterns, which are matched to the type names of the first, 
second, and so on arguments of the function. (Matching functions can 
have more arguments than what you specify. To prevent that, write a dash 
- as the last arg_pattern.)** By default, only user-created objects are 
shown; supply a pattern or the S modifier to include system objects. If 
the form \df+ is used, additional information about each function is 
shown, including volatility, parallel safety, owner, security 
classification, access privileges, language, source code and description.



-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (16+ messages)  latest in thread

Message-ID: <6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@aklaver.com>
Permalink:  ../6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@aklaver.com/
Also on:    postgresql.org/message-id/6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@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, robjsargent@gmail.com
  Subject: Re: function defined (or not), more worries on version 10->14 upgrade
  In-Reply-To: <6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@aklaver.com>
  References: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com> <6059d9b0-c5da-c4a0-b936-9376e2c4f7fd@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