Re: 7 hrs for a pg_restore?
Greg Stark <stark@enterprisedb.com>
From: Gregory Stark <stark@enterprisedb.com>
To: "Chris" <dmagick@gmail.com>
Cc: <pgsql-performance@postgresql.org>
Date: 2008-02-21T05:30:14Z
Lists: pgsql-performance
"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!