The moose likes JDBC and the fly likes Postgres backup error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Postgres backup error" Watch "Postgres backup error" New topic

Postgres backup error

Kaywin Dcosta

Joined: Jan 19, 2008
Posts: 4

I have a postgresql 7.4.2. When i try to use pg_dump i
get the next error:

pg_dump: saving encoding
pg_dump: saving database definition
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: relation "pg_user" does not exist
pg_dump: The command was: SELECT (SELECT usename FROM pg_user WHERE usesysid = datdba) as dba, pg_encoding_to_char(encoding) as encoding, datpath FROM pg_database WHERE datname = 'db'

How can i take the backup.
I agree. Here's the link: http://aspose.com/file-tools
subject: Postgres backup error
Similar Threads
Execute pg_dump from within web app
Take table backup without Select * into
Code owrks in Netbeans but the Jar fails to execute the code outside netbeans
Doing a pg_dump in Postgres using Ant - password poblem
How to make executable Jar archive ?