Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLcx-0008C8-TO for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Feb 2014 11:29:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WJLcx-0006DQ-DT for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Feb 2014 11:29:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLcv-0006DC-8l for pgsql-bugs@postgresql.org; Fri, 28 Feb 2014 11:29:13 +0000 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLcq-000478-VV for pgsql-bugs@postgresql.org; Fri, 28 Feb 2014 11:29:12 +0000 Received: by mail-ea0-f171.google.com with SMTP id n15so1112014ead.30 for ; Fri, 28 Feb 2014 03:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=DgNtnJlZ6WRmeDi7wYtN+3NSFIrWJ3l9gv1YrEfzYaQ=; b=aiv+PqJQjLQizJ2qXqb1ko4qEz3Cneo472l2puQctZncRCPi4OFgLa+QY5gRohomE4 3K1lRyqcqAVQuNGZPXbmWORQOTxtIqo0I2TB/arSns5zwLTMrx3KRsdDl3s/QFdRUAyL gYYGfRSh6mTF9NhyO0XpUxCfSKYjmCq6QXjyKLZSFw82N2JkcOHbbGgDlls0NAkyjjPp uioi7vJMpgqLpp+dtmHqy48lC3pqZXbAXMr2UydrQmQYOGdFG7gGhwnRQiiHFd2ohScF Ev+Vl2mv+aG+aTgXmSg3f6Pa997VQ0wWP9Fg6z5528ItcKx9DlEEDZ7tcyTlDSUPJG2K O9CQ== X-Received: by 10.14.215.133 with SMTP id e5mr3169414eep.103.1393586947934; Fri, 28 Feb 2014 03:29:07 -0800 (PST) Received: from localhost (ip-46-232-148-34.static.adsl.cheapnet.it. [46.232.148.34]) by mx.google.com with ESMTPSA id y51sm9346731eeu.0.2014.02.28.03.29.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Feb 2014 03:29:06 -0800 (PST) Date: Fri, 28 Feb 2014 12:28:58 +0100 From: Sandro Santilli To: pgsql-bugs@postgresql.org Subject: uninterruptable regexp_replace in 9.2 and 9.3 Message-ID: <20140228112858.GE5011@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) 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 Starting with commit 173e29aa5 the regexp_replace function became uninterruptable during operations, and takes a lot of time and RAM to process some patterns. Full story in this thread: http://www.postgresql.org/message-id/646.1393031856@sss.pgh.pa.us I'm hoping a mail to pgsql-bugs would assign this issue a ticket number for me to follow. Let me know if there's a better way. Thank you ! --strk; ()  ASCII ribbon campaign -- Keep it simple ! /\  http://strk.keybit.net/rants/ascii_mails.txt -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs