Re: pg_restore: [archiver] could not open input file

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: lbolognini(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore: [archiver] could not open input file
Date: 2006-06-30 13:21:42
Message-ID: 20060630132142.GR7238@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 29, 2006 at 07:18:56AM -0700, lbolognini(at)gmail(dot)com wrote:
> it doesn't seem even that: I tried to exclude all other parameters and
> leaving just:
> c:\> pg_restore script.sql

If that's just a straight SQL script produced by pg_dump, then you don't
need pg_restore, just "psql -f script.sql" will do.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John DeSoi 2006-06-30 13:44:56 Re: User privileges in web database applications
Previous Message Jason McManus 2006-06-30 13:17:56 Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4