pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Joachim Wieland <joe@mcknight.de>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: José Arthur Benetasso Villanova <jose.arthur@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: directory archive format for pg_dump
Date: Thu, 16 Dec 2010 17:23:43 +0200
Message-ID: <4D0A2EFF.9020104@enterprisedb.com> (raw )
In-Reply-To: <4D09E624.4030706@2ndquadrant.com >
References: <AANLkTi=AEi3F6jC0Zy3dG9njiwJJC8Y6V090-hMonyyn@mail.gmail.com >
<AANLkTik+PR2HCsqS7PVAdETPyKSGn2hb-eTeg9QZpRew@mail.gmail.com >
<4CEA9F29.5060106@enterprisedb.com >
<28890.1290445623@sss.pgh.pa.us >
<4CEAD61A.6060207@enterprisedb.com >
<AANLkTi=neaBqvLa2ZnDpuAMSen3P4ZHE8__Q7L2pmjD0@mail.gmail.com >
<4CF40B5F.1010407@enterprisedb.com >
<4CF655A3.4090308@enterprisedb.com >
<4CF6562E.60506@enterprisedb.com >
<AANLkTinauQsCGt-yeyeN_QWuN+tao+q126rwKnO2QWLP@mail.gmail.com >
<4CF74F99.4050008@enterprisedb.com >
<4CF7F8FB.1040305@enterprisedb.com >
<AANLkTik=3XBZq-PbC9CNTV1X6+-+Yd9gOdwf7rYjCpBp@mail.gmail.com >
<4D09E624.4030706@2ndquadrant.com >
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
view thread (40+ messages) latest in thread
Message-ID: <4D0A2EFF.9020104@enterprisedb.com>
Permalink: ../4D0A2EFF.9020104@enterprisedb.com/
Also on: postgresql.org/message-id/4D0A2EFF.9020104@enterprisedb.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: heikki.linnakangas@enterprisedb.com, joe@mcknight.de, greg@2ndquadrant.com, tgl@sss.pgh.pa.us, jose.arthur@gmail.com
Subject: Re: directory archive format for pg_dump
In-Reply-To: <4D0A2EFF.9020104@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox