Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2561E1337B9E for ; Mon, 31 Jan 2011 11:32:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 05501-02 for ; Mon, 31 Jan 2011 15:32:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6231E1337B9D for ; Mon, 31 Jan 2011 11:32:03 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0VFW30I016977; Mon, 31 Jan 2011 10:32:03 -0500 (EST) To: Andreas Gaab cc: "pgsql-sql@postgresql.org" Subject: Re: aggregation of setof In-reply-to: <48DA836F3865C54B8FBF424A3B775AF6671A6838F9@Exchange-Server> References: <48DA836F3865C54B8FBF424A3B775AF60132434B4A@Exchange-Server> <48DA836F3865C54B8FBF424A3B775AF6671A6838F8@Exchange-Server> <48DA836F3865C54B8FBF424A3B775AF6671A6838F9@Exchange-Server> Comments: In-reply-to Andreas Gaab message dated "Mon, 31 Jan 2011 11:22:23 +0100" Date: Mon, 31 Jan 2011 10:32:03 -0500 Message-ID: <16976.1296487923@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/121 X-Sequence-Number: 35068 Andreas Gaab writes: > Could not the function regexp_matches(text, text) be defined to only return a text[] not a setof text[]? It'd be pretty hard to change at this point, because of backwards-compatibility considerations, and because the two functions share a single implementation. regards, tom lane