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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: pg_dump 8.3 changes from 8.2



Denison Wright написа:
 <pgsql-admin(at)postgresql(dot)org>
Hi,

I had a command that I used with Postgresql 8.2 that stopped working once I
upgraded to 8.3.
I am running Postgresql 8.3 on Windows Vista with the following basic
configuration:

   - database: mydb
   - user: mydbuser
   - password: mydbpassword
   - schema:myschema
   - table: mytable

When I run the following commands:

set PGPASSWORD=mydbpassword
pg_dump mydb -U mydbuser -a -f backup.sql -F plain -t 'myschema.mytable'

Put the DB name at the end of the command line, e.g.
pg_dump -U mydbuser -a -f backup.sql -F plain -t 'myschema.mytable' mydb


I get the following error now: "pg_dump: too many command-line arguments"

[...]



--
Milen A. Radev




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group