pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version
3+ messages / 3 participants
[nested] [flat]
* BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version
@ 2018-08-02 10:57 PG Bug reporting form <noreply@postgresql.org>
2018-08-02 13:07 ` Re: BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version Sergei Kornilov <sk@zsrv.org>
0 siblings, 1 reply; 3+ messages in thread
From: PG Bug reporting form @ 2018-08-02 10:57 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: narendramca23@gmail.com
The following bug has been logged on the website:
Bug reference: 15308
Logged by: Narendra Chaturvedi
Email address: narendramca23@gmail.com
PostgreSQL version: 10.1
Operating system: windows
Description:
pg_dump: server version: 10.1.5; pg_dump version: 9.6.6
pg_dump: aborting because of server version mismatch
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version
2018-08-02 10:57 BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version PG Bug reporting form <noreply@postgresql.org>
@ 2018-08-02 13:07 ` Sergei Kornilov <sk@zsrv.org>
2018-08-02 13:55 ` Re: BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Sergei Kornilov @ 2018-08-02 13:07 UTC (permalink / raw)
To: narendramca23@gmail.com <narendramca23@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Hello
This is expected behavior: https://www.postgresql.org/docs/9.6/static/app-pgdump.html
> pg_dump cannot dump from PostgreSQL servers newer than its own major version; it will refuse to even try, rather than risk making an invalid dump
PS: also we have no 10.1.5 version. This is probably any fork, not postgresql itself?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version
2018-08-02 10:57 BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version PG Bug reporting form <noreply@postgresql.org>
2018-08-02 13:07 ` Re: BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version Sergei Kornilov <sk@zsrv.org>
@ 2018-08-02 13:55 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2018-08-02 13:55 UTC (permalink / raw)
To: Sergei Kornilov <sk@zsrv.org>; +Cc: narendramca23@gmail.com <narendramca23@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Sergei Kornilov <sk@zsrv.org> writes:
> This is expected behavior: https://www.postgresql.org/docs/9.6/static/app-pgdump.html
>> pg_dump cannot dump from PostgreSQL servers newer than its own major version; it will refuse to even try, rather than risk making an invalid dump
Right, you need a pg_dump at least as new as the server.
> PS: also we have no 10.1.5 version. This is probably any fork, not postgresql itself?
That is indeed very strange. I thought for a moment that maybe the
pg_dump was too old to interpret our new two-part-version-number scheme
correctly. But (a) 9.6.6 is not that old, and (b) AFAICS from a quick
look at the source code, what pg_dump is printing here is just the
verbatim contents of the server_version string received from the server.
Also (c), if someone did try to use a number like 10.1.5 as a version
number, they'd confuse the heck out of a lot of PG client code that
expects major version >= 10 to have only a two-part version number.
So I too would like to know where this server came from ...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-08-02 13:55 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 10:57 BUG #15308: pg_dump: server version: 10.1.5; pg_dump version: 9.6.6 pg_dump: aborting because of server version PG Bug reporting form <noreply@postgresql.org>
2018-08-02 13:07 ` Sergei Kornilov <sk@zsrv.org>
2018-08-02 13:55 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox