Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0A7AA1337B81 for ; Thu, 16 Dec 2010 11:24:02 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 13576-08 for ; Thu, 16 Dec 2010 15:23:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by mail.postgresql.org (Postfix) with SMTP id C79D11337B88 for ; Thu, 16 Dec 2010 11:23:49 -0400 (AST) Received: from source ([209.85.215.176]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKTQovBqkzQaOFb5gaHMstZnv+XTPzzYX6@postini.com; Thu, 16 Dec 2010 07:23:51 PST Received: by mail-ey0-f176.google.com with SMTP id 10so1955781eyz.35 for ; Thu, 16 Dec 2010 07:23:49 -0800 (PST) Received: by 10.213.29.200 with SMTP id r8mr551138ebc.75.1292513028286; Thu, 16 Dec 2010 07:23:48 -0800 (PST) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id t5sm1927361eeh.14.2010.12.16.07.23.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Dec 2010 07:23:47 -0800 (PST) Message-ID: <4D0A2EFF.9020104@enterprisedb.com> Date: Thu, 16 Dec 2010 17:23:43 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Joachim Wieland CC: Greg Smith , Tom Lane , =?ISO-8859-1?Q?Jos=E9_Arthur_Benetasso_Villanova?= , pgsql-hackers@postgresql.org Subject: Re: directory archive format for pg_dump References: <4CEA9F29.5060106@enterprisedb.com> <28890.1290445623@sss.pgh.pa.us> <4CEAD61A.6060207@enterprisedb.com> <4CF40B5F.1010407@enterprisedb.com> <4CF655A3.4090308@enterprisedb.com> <4CF6562E.60506@enterprisedb.com> <4CF74F99.4050008@enterprisedb.com> <4CF7F8FB.1040305@enterprisedb.com> <4D09E624.4030706@2ndquadrant.com> In-Reply-To: <4D09E624.4030706@2ndquadrant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.2 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201012/1435 X-Sequence-Number: 176697 On 16.12.2010 12:12, Greg Smith wrote: > Moving onto the directory archive part of this patch, the feature seems > to work as advertised; here's a quick test case: > > createdb pgbench > pgbench -i -s 1 pgbench > pg_dump -F d -f test > pg_restore -k test > pg_restore -l test > createdb copy > pg_restore -d copy test > > The copy made that way looked good. There's a good chunk of code in the > patch that revolves around BLOB support. We need to get someone who is > more familiar with those than me to suggest some tests for that part > before this gets committed. If you could suggest how to test that code, > that would be helpful. > > There's a number of small things that I'd like to see improved in new > rev of this code > ... In addition to those: The "check" functionality seems orthogonal, it should be splitted off to a separate patch. It would possibly be useful to be perform sanity checks on an archive in custom format too, and the directory format works just as well without it. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com