If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > pg_restore error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-12, 15:06
derstauner derstauner is offline
Registered User
 
Join Date: Feb 2012
Posts: 1
pg_restore error

Hi,

I have postgresql 8.4 installed on my computer unter windows 7.

The server is passwort protected.

I dumped a test database via pgadminIII.

Now, I want to restore it back to the server via pg_restore, but I get the error: unsupported verison <1.12> in file header.

I googled it, and it says, this error happens if I try to restore a database created with a newer version to a server created with an older version.

But I have only postgresql 8.4. The backup comes from it. So the source and the receiver are the same.

Any idea?

If I want to restore the database via psql (before it I created a .sql file too), it asks for the password. I type it, but it says it's wrong. But this can't be, because in my vb.net app, I easy connect to the database with my password.

Idea?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On