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

Commit744c3cd

Browse files
committed
regproc cleanups
1 parent290428d commit744c3cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/utils/adt/regproc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.31 1998/10/02 05:10:11 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.32 1998/10/02 05:31:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -62,7 +62,7 @@ regprocin(char *pro_name_or_oid)
6262
if (HeapTupleIsValid(proctup))
6363
result= (RegProcedure)proctup->t_oid;
6464
else
65-
elog(ERROR,"Nosuchprocedure with oid %s",pro_name_or_oid);
65+
elog(ERROR,"No procedure with oid %s",pro_name_or_oid);
6666
}
6767
else
6868
{
@@ -105,9 +105,9 @@ regprocin(char *pro_name_or_oid)
105105
index_close(idesc);
106106

107107
if (matches>1)
108-
elog(ERROR,"There is more than one%s procedure, supply oidin quotes.",pro_name_or_oid);
108+
elog(ERROR,"There is more than oneprocedure named %s.\n\tSupply the pg_proc oidinside single quotes.",pro_name_or_oid);
109109
elseif (matches==0)
110-
elog(ERROR,"Nosuchprocedure %s",pro_name_or_oid);
110+
elog(ERROR,"No procedure with name %s",pro_name_or_oid);
111111
}
112112
}
113113
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp