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 1k6euR-0000b4-70 for pgsql-general@arkaria.postgresql.org; Fri, 14 Aug 2020 18:58:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k6euQ-0005Fi-3I for pgsql-general@arkaria.postgresql.org; Fri, 14 Aug 2020 18:58:34 +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 1k6es4-00056N-6E for pgsql-general@lists.postgresql.org; Fri, 14 Aug 2020 18:56:08 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k6es1-000553-PE for pgsql-general@postgresql.org; Fri, 14 Aug 2020 18:56:06 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 9DAAB205D5CC4 for ; Fri, 14 Aug 2020 11:56:03 -0700 (MST) Date: Fri, 14 Aug 2020 11:56:03 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1597431363603-0.post@n3.nabble.com> In-Reply-To: <1597430001991-0.post@n3.nabble.com> References: <1549211574297-0.post@n3.nabble.com> <20190204010709.GC1881@paquier.xyz> <1597265258319-0.post@n3.nabble.com> <323345.1597270142@sss.pgh.pa.us> <1597410304614-0.post@n3.nabble.com> <572934.1597413823@sss.pgh.pa.us> <1597422849057-0.post@n3.nabble.com> <650987.1597427089@sss.pgh.pa.us> <1597430001991-0.post@n3.nabble.com> Subject: Re: Server goes to Recovery Mode when run a SQL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk And the operator function, just to you know, is only a conversion to text CREATE FUNCTION public.fntextonumero(ftext text, finteger public.i32) RETURNS boolean LANGUAGE sql STABLE AS $$ SELECT ftext = finteger::text; $$; CREATE FUNCTION public.fntextonumero(finteger public.i32, ftext text) RETURNS boolean LANGUAGE sql STABLE AS $$ SELECT ftext = finteger::text; $$; -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html