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 1k6ck9-00037x-Js for pgsql-general@arkaria.postgresql.org; Fri, 14 Aug 2020 16:39:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k6ck8-00050J-7Q for pgsql-general@arkaria.postgresql.org; Fri, 14 Aug 2020 16:39:48 +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 1k6brP-000641-5F for pgsql-general@lists.postgresql.org; Fri, 14 Aug 2020 15:43:15 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k6brH-0003tC-Uk for pgsql-general@postgresql.org; Fri, 14 Aug 2020 15:43:14 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 00EE0205CAFEA for ; Fri, 14 Aug 2020 08:43:04 -0700 (MST) Date: Fri, 14 Aug 2020 08:43:04 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1597419784925-0.post@n3.nabble.com> In-Reply-To: <572934.1597413823@sss.pgh.pa.us> References: <1549209182255-0.post@n3.nabble.com> <37bc715f-12e2-84ac-6492-88d7b6306777@aklaver.com> <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> Subject: Re: Server goes to Recovery Mode when run a SQL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ok, it works if I cast TipoRecebimento to text. (TipoRecebimento::text in (select substring(VarValue from 3) from Var where Name =3D '/Config/TipoRecebimentoCancelamento')) But now, how can I know what custom operator it=C2=B4s trying to use, becau= se some day I can get in troubles again because that. -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml