Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitceca2a7

Browse files
committed
Un-break pg_dump --- pg_class.indproc is now regproc not oid, which
for some reason displays a zero oid differently. Possibly we shouldrevert that schema change, but it's easy to make pg_dump accept bothspellings so I'll do that for now.
1 parent87c5e0f commitceca2a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 3 deletions
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.224 2001/08/22 20:23:23 petere Exp $
25+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.225 2001/08/27 00:44:40 tgl Exp $
2626
*
2727
*-------------------------------------------------------------------------
2828
*/
@@ -4370,8 +4370,9 @@ dumpIndexes(Archive *fout, IndInfo *indinfo, int numIndexes,
43704370
continue;
43714371
}
43724372

4373-
4374-
if (strcmp(indinfo[i].indproc,"0")==0)
4373+
/* indproc is regproc in 7.2, oid previously, so check both */
4374+
if (strcmp(indinfo[i].indproc,"-")==0||
4375+
strcmp(indinfo[i].indproc,"0")==0)
43754376
funcname=NULL;
43764377
else
43774378
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp