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 1nfPK5-0004hS-Ae for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 17:01:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nfPK4-00086T-2U for pgsql-general@arkaria.postgresql.org; Fri, 15 Apr 2022 17:01:28 +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 1nfPK2-00086K-FV for pgsql-general@lists.postgresql.org; Fri, 15 Apr 2022 17:01:27 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfPJy-0002d0-JQ for pgsql-general@postgresql.org; Fri, 15 Apr 2022 17:01:25 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 128325C0067; Fri, 15 Apr 2022 13:01:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 15 Apr 2022 13:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=1650042079; x= 1650128479; bh=cXA0pnfXqIextg1f2hvHDtJgI6pjY1tA6PBdgOv7Oyo=; b=f 2lF90lRAiM6qe+VbWXplO62ktCkH2rnxriPksiKKAQrb+H7ieeRVRtWmTbYD5fx6 QT7Vh88orwoE28AKMMBPne1pe9bwuKW+Py5E2MnhMmL35M0vTz0HZw84UMxbYLWy CB5KHruFsovr/4sqb32KUySpLw2xpu21/VsjEm+VVSUWqKfzKxMfKI1+HXjCob35 O6jjJsKN+25/m9ltPKfK378Ab9IXsiLC9QjyPH8PZceldEBg4Qv5nF4KeHizVvKN nzFcOzUiBpQNgqZi+iA2/OvI7SESwP215i148sl2NdYcFgII+MJQcfgb/NDO6EX4 C5wrotwu3UI+AHhfx0aFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1650042079; x=1650128479; bh=cXA0pnfXqIextg1f2hvHDtJgI6pj Y1tA6PBdgOv7Oyo=; b=f9yEzBtfnjsGr8NnBpinN0v3ylkSTJqT7AyslJVK6oUZ QvnILP4Hqcz2KuqAwQcJMjP8obPJ/B+aPIsVhNRWON5vuYOaLhjUDTqiKLVnxf91 LJ11ilEU+joxfA3p1nl9xBl/vf30tUtry78va7+XgRdso30ZDoA5IoNynu22NJW7 P79YmFfwQbLETTSA8+N42CX8UeK00FVdrqcEr5lUw6QsJV4KkJx8pHjPaR2f4qg4 pLUM2CQG60zgPLATwgJvOvPUqHAALpjtNouYaBalrbiZp83wqWpiM2mlVqC742Y8 YxhLjTnVDqma/Ghb1ExYVcxtX44xrdQcNpwqsbCD2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelhedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepveevfeevfeeugeffkeekhfegieeufffgteeujedv gffhueejjefhkeejleegtdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Apr 2022 13:01:17 -0400 (EDT) Subject: Re: function defined (or not), more worries on version 10->14 upgrade To: Rob Sargent , "pgsql-general@postgresql.org" References: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com> From: Adrian Klaver Message-ID: <46aff424-7027-49a2-278c-4e8179306ac4@aklaver.com> Date: Fri, 15 Apr 2022 10:01:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <1c00b419-2507-f018-3579-2529ed8d6de5@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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