Re: Exporting Tables - Mailing list pgsql-novice

From John DeSoi
Subject Re: Exporting Tables
Date
Msg-id EA3F332A-90CB-11D9-9533-000A95B03262@pgedit.com
Whole thread Raw
In response to Exporting Tables  (Sean <scene@themountainscene.com>)
List pgsql-novice
On Mar 9, 2005, at 12:53 PM, Sean wrote:

> I hope this gets through.  This message may show up 3 more times, I
> kept sending it from the wrong address, and I don't want to wait for
> "approval".  Sorry, just delete.  Anyway, I'm having problem exporting
> tables.  I'm using the windows version of 8.  If I try to execute
> pg_dump.exe, I get rejected.  I'm logged in with admin privileges, so
> I log out and log in under my postgres user name with no admin
> privileges.  I still get rejected.  The passwords are fine, they work
> logging into pgAdmin III.  I've also tried phpPgAdmin, but it won't
> export to an SQL file.  CSV is fine, but no SQL.  I've edited the
> config.inc.php, but nothing.  It seems that exporting a table
> shouldn't be this difficult.  Any insight would be appreciated.
>

You need to run pg_dump.exe with the -U option to specify the correct
database user. If you don't specify -U then it defaults to the Windows
user account name which may not be what you want. If that does not
solve it, copy and paste your terminal session so we can see the input
and the error.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: John DeSoi
Date:
Subject: Re: VERY basic psql and schema question
Next
From: Kumar S
Date:
Subject: currval and select statements