Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0TQ4-0002WV-Og for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 14:16:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e0TQ4-0000N0-Bb for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 14:16:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0T3r-0004Pk-MJ for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 13:53:07 +0000 Received: from zimbra-mta141.gruberreisen.at ([81.189.59.123]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0T3o-0006Ym-8q for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 13:53:06 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra-mta141.gruberreisen.at (Postfix) with ESMTP id ADA8D801E8 for ; Fri, 6 Oct 2017 15:53:00 +0200 (CEST) Received: from zimbra-mta141.gruberreisen.at ([127.0.0.1]) by localhost (zimbra-mta141.gruberreisen.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Im2BEPN72eYf for ; Fri, 6 Oct 2017 15:53:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta141.gruberreisen.at (Postfix) with ESMTP id 4F5C8801F3 for ; Fri, 6 Oct 2017 15:53:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra-mta141.gruberreisen.at 4F5C8801F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gruberreisen.at; s=04813B82-26D7-11E5-BEFB-84AECE1BB5FF; t=1507297980; bh=9ujQPxgQESqF+8PseTqCC2hY0uv3DPXspoeU6gXi1Jw=; h=Date:From:To:Message-ID:MIME-Version; b=B/TLJ52K0abQdSpC9TY8n+WxW5jsBkllNbsUXeLzsNXrmWKs9VrEuq+Z6KtZQ1Gbx //3Ja8UbiEK0IVAkIAVBk3VtgJ/k2UJOTN9kMKx1ZNIUbTqdE0G19TAljvBK4Sj57n UWMSFT9pArOCxkmPSb9McJUloOk89tU/Ltrjayxk= X-Virus-Scanned: amavisd-new at zimbra-mta141.gruberreisen.at Received: from zimbra-mta141.gruberreisen.at ([127.0.0.1]) by localhost (zimbra-mta141.gruberreisen.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JlEpLc9bK50p for ; Fri, 6 Oct 2017 15:53:00 +0200 (CEST) Received: from zimbra-mbox145.gruberreisen.at (zimbra-mbox145.gruberreisen.at [10.10.10.145]) by zimbra-mta141.gruberreisen.at (Postfix) with ESMTP id 38F4E801E8 for ; Fri, 6 Oct 2017 15:53:00 +0200 (CEST) Date: Fri, 6 Oct 2017 15:53:00 +0200 (CEST) From: Johannes Maurer To: pgsql-bugs@postgresql.org Message-ID: <1028494050.7236128.1507297980200.JavaMail.zimbra@gruberreisen.at> Subject: Bug in Postgresql 10.0: regexp functions return invalid cach ID: 42 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_f01bcba4-62f6-4823-b586-a9e0cb4e4dd0" X-Originating-IP: [10.10.10.143] X-Mailer: Zimbra 8.7.11_GA_1854 (ZimbraWebClient - GC56 (Win)/8.7.11_GA_1854) Thread-Index: 19hFKnH222puWVlr6OJoo40zHjKEMg== Thread-Topic: Bug in Postgresql 10.0: regexp functions return invalid cach ID: 42 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --=_f01bcba4-62f6-4823-b586-a9e0cb4e4dd0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 when running the following command=20 select regexp_replace('##text1##', '^##', '(##([^#]*?\.|)');=20 I get the followin error message:=20 FEHLER: invalid cache ID: 42=20 Where: paralleler Arbeitsprozess=20 FEHLER: invalid cache ID: 42=20 Where: paralleler Arbeitsprozess=20 It used to work in Postgres 9.5 and 9.6.=20 =09 Mit sonnigen Gr=C3=BC=C3=9Fen=20 Johannes Maurer - BI Analyst=20 GRUBER Touristik GmbH HG Wien FN 214982a, ATU-53633803=20 8055 Graz, Puchstra=C3=9Fe 176, Tel.: +43-316-7089-4225, Fax: -84225=20 [ mailto:johannes.maurer@gruberreisen.at | johannes.maurer@gruberreisen.at = ] <> [ https://www.gruberreisen.at/ | www.gruberreisen.at ] <> [ https://fa= cebook.com/GRUBERreisen | facebook.com/GRUBERreisen ]=20 --=_f01bcba4-62f6-4823-b586-a9e0cb4e4dd0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,
when running the following command
=
select regexp_replace('##text1##', '^##= ', '(##([^#]*?\.|)');

I get the followin error message:

FEHLER: invalid cache ID: 42
  Where:= paralleler Arbeitsprozess
FEHLER: invalid cache ID: 42
  Where: paralleler Arbeitsprozess

It = used to work in Postgres 9.5 and 9.6.




<= /table> --=_f01bcba4-62f6-4823-b586-a9e0cb4e4dd0--
3D"Portrait"Mit sonnigen Gr=C3=BC=C3=9Fen<= /div>
Johannes Maurer - BI Analyst

GRUBER Touristik GmbH HG Wien FN 214982a, AT= U-53633803
805= 5 Graz, Puchstra=C3=9Fe 176, Tel.: +43-316-7089-4225, Fax: -84225