Re: 7 hrs for a pg_restore?

Chris <dmagick@gmail.com>

From: Chris <dmagick@gmail.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: pgsql-performance@postgresql.org
Date: 2008-02-20T23:35:16Z
Lists: pgsql-performance
> 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.

$ echo 1 && echo 2
1
2

$ echo '1234' > /etc/file_that_doesnt_exist && echo 2
-bash: /etc/file_that_doesnt_exist: Permission denied


-- 
Postgresql & php tutorials
http://www.designmagick.com/