From: Tom Lane Date: Mon, 29 Apr 2002 04:10:02 +0000 (+0000) Subject: Remove unnecessary/obsolete regproctooid() references. X-Git-Tag: REL7_3~1581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e896912ee9ce481151b0f653a59acb390a676dda;p=postgresql Remove unnecessary/obsolete regproctooid() references. --- diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 2be7a99679..554345c4ba 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -22,7 +22,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.255 2002/04/24 22:39:49 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.256 2002/04/29 04:10:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -3039,8 +3039,8 @@ getIndexes(int *numIndexes) "t1.relname as indexrelname, t2.relname as indrelname, " "pg_get_indexdef(i.indexrelid) as indexdef, " "i.indisprimary, i.indkey, " - "CASE WHEN regproctooid(i.indproc) <> 0 " - " THEN (SELECT pronargs FROM pg_proc WHERE pg_proc.oid = regproctooid(i.indproc)) " + "CASE WHEN i.indproc <> 0 " + " THEN (SELECT pronargs FROM pg_proc WHERE pg_proc.oid = i.indproc) " " ELSE t1.relnatts END as indnkeys " "FROM pg_index i, pg_class t1, pg_class t2 " "WHERE t1.oid = i.indexrelid and t2.oid = i.indrelid "