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 1nfSSW-0007ra-HW for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 20:22:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nfSSV-0008Ff-8o for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 20:22:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfSST-0008FU-9F for pgsql-general@lists.postgresql.org; Fri, 15 Apr 2022 20:22:22 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfSSK-0004M4-CJ for pgsql-general@postgresql.org; Fri, 15 Apr 2022 20:22:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id ECD0E5C00AB; Fri, 15 Apr 2022 16:22:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 15 Apr 2022 16:22:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1650054128; x= 1650140528; bh=sahMDVGXHuUpzezu6+DKpnDkY+QAtKh5OxYUWN8VqFs=; b=x UADiE1va1/1p9JeXybvo+RWXZzfTfSr18ixMibolaGj0mzPcxwo/KD58k0gOcen6 AUJcwxrzVDWvym7YUMtDNMguGps39wm2z3EnpvWqEvbNqvvm8LdomVS8drjU45qO Fuqzkfukl7levLDQP+0Vh/W/8ybyULtI+QQUwrSVuc7b5hC+lzxvwcMubHCeX8HM vNcUHjMK/5lCuyPruQsp4Um0nxsUSASq0E5K85VFS3rQ0WWry0kdAPssco/l1989 KrnmYFiHsdKUNiH2j2OjcqmDWb3akRgVHsWFqT9OnLV/ivtrczrPLkLD7SPGgKDo vL/VRx10ykWucVMBXA/mw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1650054128; x=1650140528; bh=sahMDVGXHuUpz ezu6+DKpnDkY+QAtKh5OxYUWN8VqFs=; b=i9KTIkr1/ed9Xfcr2lcthNxQ6DtLv yoUW0flH6hynLWmEeEHZIx2a3/XcD7bF4ioESYwa3kY8a3jMbqcc7CJpEmsI4kHB aC0bSwYNMQXwDKwUt1W6OIEL7FFKtcJcivCVDxiFwpvHvsAra9jrFPEZiIW949xy l9pr5hORNSymwz65dnoWoW7PgTPJQ42Ng5ImqGdPvP/d3p4lJ8RHArwKDlWPy7qo 9tKZJzEW20OFBRcUCRRsWRDBvPmKtqQvWoDBZPCY9O0HFiHxt8ytl9/EuDrltD1f +tnZg2VFDzN0A0T5VUKTsoGKITtmPDBzYnFTc8twHhPiNCuCCHczkBD5A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelhedgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepvedvkeeihfduhffhtdekleegffduiefgteejgeff gffhteefleeludfgleelgeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Apr 2022 16:22:08 -0400 (EDT) Message-ID: <44d8ca64-af6a-6ff8-1a6a-e19d8f75885c@aklaver.com> Date: Fri, 15 Apr 2022 13:22:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: function defined (or not), more worries on version 10->14 upgrade Content-Language: en-US To: Tom Lane , Rob Sargent Cc: "pgsql-general@postgresql.org" References: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com> <1653697.1650042859@sss.pgh.pa.us> From: Adrian Klaver In-Reply-To: <1653697.1650042859@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/15/22 10:14, Tom Lane wrote: > Rob Sargent writes: >> 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) > > Hmm, it looks like \df does not cope well with spaces in the argument > list: > > regression=# \df genome_threshold_mono(text,text,double) > List of functions > Schema | Name | Result data type | Argument data types | Type > --------+------+------------------+---------------------+------ > (0 rows) > > regression=# \df genome_threshold_mono(text,text, double) > ERROR: invalid regular expression: parentheses () not balanced > > 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. > Seems it also has another white space problem: \df upc_check_digit() List of functions Schema | Name | Result data type | Argument data types | Type --------+-----------------+-------------------+-----------------------+------ public | upc_check_digit | character varying | upc character varying | func \df upc_check_digit () List of functions Schema | Name | Result data type | Argument data types | Type --------+------+------------------+---------------------+------ (0 rows) \df upc_check_digit(varchar) List of functions Schema | Name | Result data type | Argument data types | Type --------+------+------------------+---------------------+------ (0 rows) \df upc_check_digit (varchar) List of functions Schema | Name | Result data type | Argument data types | Type --------+-----------------+-------------------+-----------------------+------ public | upc_check_digit | character varying | upc character varying | func (1 row) > > regards, tom lane > > -- Adrian Klaver adrian.klaver@aklaver.com