Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfS8W-0006y3-Mm for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 20:01:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nfS8V-0006Pc-9H for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 20:01:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfS8U-0006Oj-SU for pgsql-general@lists.postgresql.org; Fri, 15 Apr 2022 20:01:42 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nfS8S-0000vr-Kz for pgsql-general@postgresql.org; Fri, 15 Apr 2022 20:01:41 +0000 Received: by mail-pg1-x52b.google.com with SMTP id h5so8369049pgc.7 for ; Fri, 15 Apr 2022 13:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=s1Eze5Oiv3vBGYBZK98/Y8NCqeDDSZ9KQkU+kSyGFgE=; b=S87pcGCXDsuxOH5mhR/JHnQ0wicYDMbgDNBGTDY85AwL9Ynz34x8A+iw5tl6U7aHg5 rxK9mXODlFVu4tJ2NHKvAtc2zA1QtRKjWnIG8oH5WZCXxCAQvDo29bPNdAN+zl/78ojR +5CDc07XvOIn2ND6sZqSZ2cZA7kNVnRpkH6p0a3gaCtvSHvSMYeRrPy40MGnl+SlS2BH cAAN1SNLUgsL0ZSsoZEwcHF4tlHOIlbbf2foL2yPo/u2LVMcIHSu3nFJHBH555c3Sdbz c4+0NgvNCLUh8Dtck3PrmWLO/AQLvItpjyso/HD7H5J/bY9mW895NXpaW0gc8coMPf2i YS9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=s1Eze5Oiv3vBGYBZK98/Y8NCqeDDSZ9KQkU+kSyGFgE=; b=0/cyDR7YTZT+Ikygnspa5H7dTEIwfh73rMuYnfydq8Or7Y9KxTmy7nj4FEGyIbvP/0 BPMjy5hvO/cw1ugV9NnzKTd/+OEe76eaL8MDXuQOOLaBoYrLG3xqDCkqjb5oRIuyu3bW 78ea4cXQJXCWoMioVc5ei8++yFxLB+k0oTGShTqGvZmQ8NSVeCCINVnPqyIJ81waz1me 246q33mnyr6S2jk1ChUDpLdS/qed6k0Sl4r78arQ33yPmZZ0VbJ5/PrrC44wD3HA6Num EbciVHve4EChhmFTARNk/W9Zw4O+wdmXsw4k0tGtj3fffjhEU4bju/HbRUNjTIOuIDCD IaWA== X-Gm-Message-State: AOAM531lxY/QsHd8iy7eO4OAqvBdV1UL7K3UJpWkrISSnn3XG2Irt22R swgu2ddjqIoxUbd07GeEI3Y= X-Google-Smtp-Source: ABdhPJxU6DNxvJMyT8dg0Xib8pSOb53/nMeKzmfrBlcivQGHvAzvxBYey+qbiR6G7c9O+l82kY2KCw== X-Received: by 2002:a65:568b:0:b0:378:86b8:9426 with SMTP id v11-20020a65568b000000b0037886b89426mr510314pgs.70.1650052898335; Fri, 15 Apr 2022 13:01:38 -0700 (PDT) Received: from smtpclient.apple (c-71-195-204-99.hsd1.ut.comcast.net. [71.195.204.99]) by smtp.gmail.com with ESMTPSA id d8-20020a056a00198800b004fab740dbe6sm3874210pfl.15.2022.04.15.13.01.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Apr 2022 13:01:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: function defined (or not), more worries on version 10->14 upgrade Date: Fri, 15 Apr 2022 14:01:36 -0600 Message-Id: <024A7C75-C1D5-41CF-B68F-23F418E8379A@gmail.com> References: <1653697.1650042859@sss.pgh.pa.us> Cc: pgsql-general@postgresql.org In-Reply-To: <1653697.1650042859@sss.pgh.pa.us> To: Tom Lane X-Mailer: iPhone Mail (19E258) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Apr 15, 2022, at 11:14 AM, Tom Lane wrote: >=20 > =EF=BB=BFRob Sargent writes: >> The function in question is working but I'm having trouble getting at=20 >> it's current definition and the possibility that there are more v10->v14=20= >> issues in this database. The last ERROR: below seems to me "a system=20 >> thing"(tm) >=20 > Hmm, it looks like \df does not cope well with spaces in the argument > list: >=20 > regression=3D# \df genome_threshold_mono(text,text,double) > List of functions > Schema | Name | Result data type | Argument data types | Type=20 > --------+------+------------------+---------------------+------ > (0 rows) >=20 > regression=3D# \df genome_threshold_mono(text,text, double) > ERROR: invalid regular expression: parentheses () not balanced >=20 > It's sending the server a bogus pattern in the second case. > I've not looked at the code yet, but this does seem like a > psql (not server) bug. >=20 > As Adrian noted, you're not supposed to use parameter names > in \df, only their types. It seems like whitespace ought > to be allowed though. >=20 > regards, tom lane Thank you. Much relieved.=20 The no-space-no-names thing is suspicious. Away from desk just now but sure I= =E2=80=99ve successfully cutpasted the arg list into \df calls Will test s= hortly=