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

Re: pg_dump 8.3 changes from 8.2

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump 8.3 changes from 8.2
Date: 2008-05-12 11:46:41
Message-ID: g09an7$6ie$1@ger.gmane.org (view raw or flat)
Thread:
Lists: pgsql-admin
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


In response to

pgsql-admin by date

Next:From: Julius TuskenisDate: 2008-05-12 13:44:16
Subject: how to get a number of seconds in some interval ?
Previous:From: James FarrugiaDate: 2008-05-12 08:19:59
Subject: Re: Orphan TOAST object

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