Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group