Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bE47H-00067L-HM for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jun 2016 00:28:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bE47G-0005WL-3w for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jun 2016 00:28:02 +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_2) (envelope-from ) id 1bE46c-0004kk-PK for pgsql-bugs@postgresql.org; Sat, 18 Jun 2016 00:27:22 +0000 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bE46U-0003Ig-Gz for pgsql-bugs@postgresql.org; Sat, 18 Jun 2016 00:27:22 +0000 Received: by mail-qk0-x232.google.com with SMTP id s186so102582383qkc.1 for ; Fri, 17 Jun 2016 17:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=kZZLYwTPdY9QbqxRduWAFVopX0Z+y9hUFVnzW0vDTgg=; b=d1zN5wObIaaKGtUSTQv4rsNpNoU0z+yCXXqefkoatqiatWDOCpCaBmsQu3shjHq2K3 WosK1JpG4cpmT7poP2MaveGXTlad+Em4eOr8QEXprLHcYtM2sf9GPW4469iLnCLnaZw0 yl9DiEe731tAKOxByCCh83b5LGg1lD9fKCe8APi+95E+6wi9msygGnI5vjWL6HX0qlVU /kbglh/XZC4atfhcIJbhZx56O+smSj95eObWt8o5X+05Yi7RkkikYg7Z/pxM5iI3U5QT hqZ3WG9+GB6mxiVweOwceOyuaGOX/ljJhUh18QyPAp38YuEFlFbArsm+mN5DhuGL7tFY zUVQ== 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-transfer-encoding; bh=kZZLYwTPdY9QbqxRduWAFVopX0Z+y9hUFVnzW0vDTgg=; b=BpCc5dJWmVEnaiThtS5p7sbwhx9TsUtJ00uy9ZCxMr1L5URtgf8RIYBvcRYHAQOVdK AqqNI53SoQLQ3Vg3eoebwmve0bi2GbdhSh8DdtjghFqg28d74LdiEKQjs5X+GfmNvR8e FaRfXTxlwwdP1UZEnh3smSyhr6BZWX1uXwMGy4cH0mQ8qZli3R7xjRH3ULc70LkpCUK4 hsuCOz7goKb07ZnMVw16EnPhz75JHQLVMfdUAkPj+Oy6Lh9x/FmR3oaZoRGX8xtJpNK3 Eh9wMqpksj8vSNpPgteW5fKWZ/84hjx53+VNUgs2OWP/71hz1VbEKld51yqsIWwuwulZ OdWw== X-Gm-Message-State: ALyK8tKTP5K+d8nK0wx7Ct7lMMs/gINiCdt3PCQD76Q2D8V6/mcff2+gWkljA5A0WTGUok+uEmcgOavYb4ZkyOfWRCT1X55HMv9SkB4J97mZhVMMmQmxJa2xliX+ZcnPi3C/60HMzK7gQfiltFvT8LUVXan77ZdAMGVvDKFxawhNgl0YCNedj0RlEbEMBDki X-Received: by 10.55.204.3 with SMTP id r3mr6250129qki.45.1466209632723; Fri, 17 Jun 2016 17:27:12 -0700 (PDT) Received: from alderaan.marques (host53.186-108-166.telecom.net.ar. [186.108.166.53]) by smtp.googlemail.com with ESMTPSA id g51sm14434803qtg.26.2016.06.17.17.27.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Jun 2016 17:27:11 -0700 (PDT) Subject: Re: pg_dump doesn't dump new objects created in schemas from extensions To: Michael Paquier References: <409fe594-f4cc-89f5-c0d2-0a921987a864@2ndquadrant.com> <20160616185547.GA72247@alvherre.pgsql> <24a4d9cf-025d-d855-fe76-3af3f878174d@2ndquadrant.com> Cc: Alvaro Herrera , PostgreSQL mailing lists From: =?UTF-8?Q?Mart=c3=adn_Marqu=c3=a9s?= Message-ID: Date: Fri, 17 Jun 2016 21:27:08 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 El 17/06/16 a las 20:31, Michael Paquier escribió: > > Tests, and refactoring. > > As this is going to be heavily duplicated, you may want to use a > different routine for this check. Integrating some tests with a dummy > extension that creates a schema would also be a good idea as this is > likely going to modify many code paths. So I think that we should have > something stored in src/test/modules that gets installed when running > make check in src/bin/pg_dump, and then one of the TAP scripts in t/ > creates a bunch of objects on the schema created by the extension. That's sensible, but my day is coming to an end. ;) I'll see if I can make some time to get all that added, and I'll also see which other objects need to be dumpable as well. Thanks for helping out with this. -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs