Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 03a7625

Browse files
committed
Fix bit rot in pg_dump's ability to dump from 7.2 and 7.1 servers.
1 parent 19b3c55 commit 03a7625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_dump.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*
2424
* IDENTIFICATION
25-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.290 2002/08/22 21:29:34 tgl Exp $
25+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.291 2002/08/22 21:35:50 tgl Exp $
2626
*
2727
*-------------------------------------------------------------------------
2828
*/
@@ -558,7 +558,7 @@ main(int argc, char **argv)
558558
if (g_fout->remoteVersion < 70300)
559559
{
560560
if (g_fout->remoteVersion >= 70100)
561-
g_last_builtin_oid = findLastBuiltinOid_V71(PQdb(((ArchiveHandle *)g_conn)->connection));
561+
g_last_builtin_oid = findLastBuiltinOid_V71(PQdb(g_conn));
562562
else
563563
g_last_builtin_oid = findLastBuiltinOid_V70();
564564
if (g_verbose)

0 commit comments

Comments
 (0)