Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YpQ97-000612-1p for pgsql-bugs@arkaria.postgresql.org; Mon, 04 May 2015 23:51:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YpQ96-0006i0-FS for pgsql-bugs@arkaria.postgresql.org; Mon, 04 May 2015 23:51:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YpQ95-0006hC-Fi for pgsql-bugs@postgresql.org; Mon, 04 May 2015 23:51:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YpQ92-0001dL-Fs for pgsql-bugs@postgresql.org; Mon, 04 May 2015 23:51:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t44NpMKC016890; Mon, 4 May 2015 19:51:22 -0400 From: Tom Lane To: "David G. Johnston" cc: Jeff Certain , "pgsql-bugs@postgresql.org" Subject: Re: regexp_matches bug in 9.3.4 and 9.4.1 In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Mon, 04 May 2015 15:36:38 -0700" Date: Mon, 04 May 2015 19:51:22 -0400 Message-ID: <16889.1430783482@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 "David G. Johnston" writes: > Seems the however the citext version of regexp_matches is invoked it > ignores the global flag. Haven't explored deeper. Hm ... regression=# create extension citext; CREATE EXTENSION regression=# \df regexp_matches List of functions Schema | Name | Result data type | Argument data types | Type ------------+----------------+------------------+----------------------+-------- pg_catalog | regexp_matches | SETOF text[] | text, text | normal pg_catalog | regexp_matches | SETOF text[] | text, text, text | normal public | regexp_matches | text[] | citext, citext | normal public | regexp_matches | text[] | citext, citext, text | normal (4 rows) Looks like somebody just fat-fingered the declaration of citext's regexp_matches() functions: they should be marked proretset and they ain't. Sigh. I wonder if any of the other ones are wrong. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs