Skip to content

Commit e896912

Browse files
committed
Remove unnecessary/obsolete regproctooid() references.
1 parent c763cfa commit e896912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 3 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.255 2002/04/24 22:39:49 petere Exp $
25+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.256 2002/04/29 04:10:02 tgl Exp $
2626
*
2727
*-------------------------------------------------------------------------
2828
*/
@@ -3039,8 +3039,8 @@ getIndexes(int *numIndexes)
30393039
"t1.relname as indexrelname, t2.relname as indrelname, "
30403040
"pg_get_indexdef(i.indexrelid) as indexdef, "
30413041
"i.indisprimary, i.indkey, "
3042-
"CASE WHEN regproctooid(i.indproc) <> 0 "
3043-
" THEN (SELECT pronargs FROM pg_proc WHERE pg_proc.oid = regproctooid(i.indproc)) "
3042+
"CASE WHEN i.indproc <> 0 "
3043+
" THEN (SELECT pronargs FROM pg_proc WHERE pg_proc.oid = i.indproc) "
30443044
" ELSE t1.relnatts END as indnkeys "
30453045
"FROM pg_index i, pg_class t1, pg_class t2 "
30463046
"WHERE t1.oid = i.indexrelid and t2.oid = i.indrelid "

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy