pg-dump

Postgresql 9.2 pg_dump version mismatch

走远了吗. 提交于 2019-11-27 09:11:48
问题 I am trying to dump a Postgresql database using the pg_dump tool. $ pg_dump books > books.out How ever i am getting this error. pg_dump: server version: 9.2.1; pg_dump version: 9.1.6 pg_dump: aborting because of server version mismatch The --ignore-version option is now deprecated and really would not be a a solution to my issue even if it had worked. How can I upgrade pg_dump to resolve this issue? 回答1: You can either install PostgreSQL 9.2.1 in the pg_dump client machine or just copy the

How to fix pg_dump version mismatch errors?

主宰稳场 提交于 2019-11-26 15:54:31
问题 When trying to get local data to Heroku, I am encountering a version mismatch between two different versions of pg_dump. Specifically, I am getting this message: pg_dump: server version: 9.2.2; pg_dump version: 9.1.4 pg_dump: aborting because of server version mismatch I have found others with this problem, but do not know enough to implement the proposed solutions. (I am new to Ruby on Rails, PostgreSQL, Heroku, and the Mac! Very much at the stage of playing around the picking things up as I