Re: Reload only specific databases from pg_dumpall

From: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "Postgresql General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Reload only specific databases from pg_dumpall
Date: 2008-02-05 02:37:53
Message-ID: b35603930802041837q7416a4b2g358ef08dddb9bdbc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Or, for the heck of it:
sed -n -e '/DATABASE smarlowe/p' -e '141,334p' test.sql > clean.sql

;}

Cheers,
Andrej

--
Please don't top post, and don't use HTML e-Mail :} Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-02-05 02:38:38 Re: Question for Postgres 8.3
Previous Message Gurjeet Singh 2008-02-05 02:24:15 Re: Reload only specific databases from pg_dumpall