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

Commit794fedc

Browse files
committed
From: Darren King <darrenk@insightdist.com>
Two incorrect printf formats in parser/parse_type.c. Prolly doneby me a long time ago when I cleaned up int's and Oid's...Format flag is really just %u, not %ud. Harmless, but results in"type id lookup of 25d failed" instead of only "...25 failed"
1 parent9986d9a commit794fedc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/parse_type.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.7 1998/02/26 04:33:36 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.8 1998/02/27 19:44:51 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -44,7 +44,7 @@ typeidTypeName(Oid id)
4444
if (!(tup=SearchSysCacheTuple(TYPOID,ObjectIdGetDatum(id),
4545
0,0,0)))
4646
{
47-
elog(ERROR,"type id lookup of %ud failed",id);
47+
elog(ERROR,"type id lookup of %u failed",id);
4848
return (NULL);
4949
}
5050
typetuple= (TypeTupleForm)GETSTRUCT(tup);
@@ -60,7 +60,7 @@ typeidType(Oid id)
6060
if (!(tup=SearchSysCacheTuple(TYPOID,ObjectIdGetDatum(id),
6161
0,0,0)))
6262
{
63-
elog(ERROR,"type id lookup of %ud failed",id);
63+
elog(ERROR,"type id lookup of %u failed",id);
6464
return (NULL);
6565
}
6666
return ((Type)tup);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp