提交 03a7625a 编写于 作者: T Tom Lane

Fix bit rot in pg_dump's ability to dump from 7.2 and 7.1 servers.

上级 19b3c552
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.290 2002/08/22 21:29:34 tgl Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.291 2002/08/22 21:35:50 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -558,7 +558,7 @@ main(int argc, char **argv) ...@@ -558,7 +558,7 @@ main(int argc, char **argv)
if (g_fout->remoteVersion < 70300) if (g_fout->remoteVersion < 70300)
{ {
if (g_fout->remoteVersion >= 70100) if (g_fout->remoteVersion >= 70100)
g_last_builtin_oid = findLastBuiltinOid_V71(PQdb(((ArchiveHandle *)g_conn)->connection)); g_last_builtin_oid = findLastBuiltinOid_V71(PQdb(g_conn));
else else
g_last_builtin_oid = findLastBuiltinOid_V70(); g_last_builtin_oid = findLastBuiltinOid_V70();
if (g_verbose) if (g_verbose)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册