Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 26E732E0117 for ; Fri, 22 Feb 2008 15:32:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 72545-09 for ; Fri, 22 Feb 2008 15:32:55 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by postgresql.org (Postfix) with ESMTP id 07D072E0104 for ; Fri, 22 Feb 2008 15:32:55 -0400 (AST) Received: from [172.16.255.106] (duck.3times25.net [66.23.211.34]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1JSdYl0buR-0003xI; Fri, 22 Feb 2008 14:27:52 -0500 Message-ID: <47BF2235.6080801@serioustechnology.com> Date: Fri, 22 Feb 2008 14:27:49 -0500 From: Geoffrey User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: loading same instance of dump to two different servers simultaneously? References: <200802221834.m1MIYhvA001607@larrys.harvard.edu> In-Reply-To: <200802221834.m1MIYhvA001607@larrys.harvard.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+/tNWzXL5H74XuoV4OIfjy9Gis0ECkOPaOaKw di96yK+2Ocz4ZN+h7IbPtc/bUrpzOvfU2DR2mKPnyHe2DO9l3y xIB5ec5YbgG1Cg8G1oBSuQNYRETq9Rm X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/288 X-Sequence-Number: 28362 Susan Russo wrote: > Hi - > I'm wondering if anyone has had success doing a simultaneous > load of one Pg dump to two different servers? The load command > is actually run from two different workstations, but reading the > same pgdump-file. > > We use this command from the command line (Solaris-10 OS): > > uncompress -c pgdump-filename.Z | psql -h pgserver-A pg-dbname > > and, likewise wonder if we can run the same command on another > workstation, but reading the SAME 'pgdump-filename.Z' > to load onto ANOTHER server ('pgserver-B'), i.e.: > > uncompress -c pgdump-filename.Z | psql -h pgserver-A pg-dbname I'm assuming the above line should have been: uncompress -c pgdump-filename.Z | psql -h pgserver-B pg-dbname ^ ^ -- Until later, Geoffrey Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. - Benjamin Franklin