Обсуждение: Re: [BUGS] pg_dump: aborting because of server version mismatch

Поиск
Список
Период
Сортировка

Re: [BUGS] pg_dump: aborting because of server version mismatch

От
"Kevin Grittner"
Дата:
Mitesh Shah <mitesh.shah@stripes39.com> wrote:

> *pg_dump: server version: 9.1.2; pg_dump version: 9.0.5*
> *pg_dump: aborting because of server version mismatch*

This is not a bug.  Use a version of pg_dump which is at least as
new as the server.  The older version of pg_dump is unlikely to be
able to recognize everything in the newer server,

-Kevin

Re: [seapug] Re: [BUGS] pg_dump: aborting because of server version mismatchT

От
Robert Bernier
Дата:
There used to be a switch in pg_dump that would disable the version, you can
even see that's in the man page. However, it is not reccommended and the most
recent versions have fully deprecated the switch. Technically speaking that
means that you can even use an older version of pg_dump and it wouldn't
generate any errors although I wouldn't want to test it out on important stuff.

Robert Bernier



On Wednesday, May 02, 2012 02:53:53 pm Kevin Grittner wrote:
> Mitesh Shah <mitesh.shah@stripes39.com> wrote:
> > *pg_dump: server version: 9.1.2; pg_dump version: 9.0.5*
> > *pg_dump: aborting because of server version mismatch*
>
> This is not a bug.  Use a version of pg_dump which is at least as
> new as the server.  The older version of pg_dump is unlikely to be
> able to recognize everything in the newer server,
>
> -Kevin