pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: Chris <dmagick@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 7 hrs for a pg_restore?
Date: Thu, 21 Feb 2008 05:30:14 +0000
Message-ID: <87mypuvpuh.fsf@oxford.xeocode.com> (raw)
In-Reply-To: <47BCB934.6020205@gmail.com>
References: <200802191303.58840.doug@hunley.homeip.net>
	<200802191555.43340.doug@hunley.homeip.net>
	<080DA59E-2C02-4370-8584-FA7C8CC008B0@myemma.com>
	<200802200826.38611.doug@hunley.homeip.net>
	<874pc3ww96.fsf@oxford.xeocode.com>
	<0C5E3C24-530F-40AD-8CB4-B0477A368F6E@myemma.com>
	<9755.1203526446@sss.pgh.pa.us>
	<87zltvurve.fsf@oxford.xeocode.com>
	<47BCB934.6020205@gmail.com>

"Chris" <dmagick@gmail.com> writes:

>> When I said "obfuscating" I meant it. I'm pretty familiar with sh scripting
>> and I'm not even sure what the && behaviour would do.
>
> It chains commands together so if the first fails the second doesn't happen.

I meant in this case, not in general. That is, does it introduce a subshell?

Sh traditionally has to introduce to implement some of the logical control and
pipe operators. I'm not sure if a simple && is enough but often it's
surprising how quickly that happens.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's Slony Replication support!



view thread (42+ messages)  latest in thread

Message-ID: <87mypuvpuh.fsf@oxford.xeocode.com>
Permalink:  ../87mypuvpuh.fsf@oxford.xeocode.com/
Also on:    postgresql.org/message-id/87mypuvpuh.fsf@oxford.xeocode.com

 · 

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-performance@postgresql.org
  Cc: stark@enterprisedb.com, dmagick@gmail.com
  Subject: Re: 7 hrs for a pg_restore?
  In-Reply-To: <87mypuvpuh.fsf@oxford.xeocode.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