Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zigxd-0006fO-Rh for pgsql-committers@arkaria.postgresql.org; Sun, 04 Oct 2015 10:56:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zigxc-0008Df-MJ for pgsql-committers@arkaria.postgresql.org; Sun, 04 Oct 2015 10:56:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZigxQ-00080J-Fu for pgsql-committers@postgresql.org; Sun, 04 Oct 2015 10:55:56 +0000 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZigxN-0002iI-24 for pgsql-committers@postgresql.org; Sun, 04 Oct 2015 10:55:55 +0000 Received: by wicge5 with SMTP id ge5so84316790wic.0 for ; Sun, 04 Oct 2015 03:55:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=4fT8WiPKYwbTUSSeqH+CFVBjSGb3gwgiipgyOOeferY=; b=aRxZQsyA211G1MDHHvf/D+bDeuV7MKIxcNmzYz8Wy6PSWM8n1flZIy6klfjoVFZWqY ux+dhYd25+yWcDrFNOVOvxn3JUpwjB1J7wnamGoU6J5jkVZ22pTbaPIpR0fXc0NUpVBp iC7Jh8MDbZLPL2fmBGChl+xrrmM1hLjB9zIda1I0DHBaBCURRH7l30NaAEpyDcXVp1rC YZ+Eob2XsHjqEBOU0NiTcHiQ5RfEHkigzX+tkyvLao1rqfXnWqUhjZ1FKZUI/HCLIMAU gR2MVO5/zZm8ALLFV9u9AAARvy7M5O8Ogo8JaX8cBCfl7NwLwr4UAhJ8Gcm4Cp8mrxEh IwpQ== X-Gm-Message-State: ALoCoQkRoe54U3ItqpHNy9ElOsPgVFmj4l5eiQEq6S2KVV641HYkqxw+XpM4IUM4oAFkNUE5VWOiXcrYMTaIUh9Tf7oFSEi9FSxfU4rqi/sNyozcJhzEIXi5+BD0y6ZGC6WR8mAKB+34e1dSUIRLYT6Dc/ACiBs/fHxZDhi494ITTApjoDvIW/FiaZ7B44ftvLHw9fJR5Dg6 X-Received: by 10.194.185.16 with SMTP id ey16mr28888532wjc.32.1443956151151; Sun, 04 Oct 2015 03:55:51 -0700 (PDT) Received: from ?IPv6:2a00:1028:96c9:ee5a:cc11:eca:3d86:fbac? (dynamic-2a00-1028-96c9-ee5a-cc11-0eca-3d86-fbac.ipv6.broadband.iol.cz. [2a00:1028:96c9:ee5a:cc11:eca:3d86:fbac]) by smtp.gmail.com with ESMTPSA id qq4sm20977646wjc.14.2015.10.04.03.55.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Oct 2015 03:55:49 -0700 (PDT) Subject: Re: pgsql: Add CASCADE support for CREATE EXTENSION. To: Tom Lane , Andres Freund References: <5617.1443930468@sss.pgh.pa.us> Cc: pgsql-committers@postgresql.org From: Petr Jelinek Message-ID: <561105B2.6020002@2ndquadrant.com> Date: Sun, 4 Oct 2015 12:55:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5617.1443930468@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------020505050409060000020609" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org This is a multi-part message in MIME format. --------------020505050409060000020609 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-10-04 05:47, Tom Lane wrote: > Andres Freund writes: >> Add CASCADE support for CREATE EXTENSION. > > Buildfarm results suggest this was not tested with python 3. > Attached patch fixes it on my machine. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------020505050409060000020609 Content-Type: text/x-diff; name="create-extension-cascade-python3-fix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="create-extension-cascade-python3-fix.diff" diff --git a/src/pl/plpython/regress-python3-mangle.mk b/src/pl/plpython/regress-python3-mangle.mk index d2c7490..6394815 100644 --- a/src/pl/plpython/regress-python3-mangle.mk +++ b/src/pl/plpython/regress-python3-mangle.mk @@ -25,6 +25,7 @@ pgregress-python3-mangle: -e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \ -e "s/EXTENSION \([^ ]*_\)*plpythonu/EXTENSION \1plpython3u/g" \ -e "s/EXTENSION \([^ ]*_\)*plpython2u/EXTENSION \1plpython3u/g" \ + -e 's/installing required extension "plpython2u"/installing required extension "plpython3u"/g' \ $$file >`echo $$file | sed 's,^.*/\([^/][^/]*/\)\([^/][^/]*\)$$,\1python3/\2,'` || exit; \ done --------------020505050409060000020609 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers --------------020505050409060000020609--