Skip to content

Commit 301d6e4

Browse files
author
Neil Conway
committed
Trivial fix: remove a pointless cast.
1 parent 8771792 commit 301d6e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/pg_proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/pg_proc.c,v 1.120 2004/10/07 18:38:48 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/pg_proc.c,v 1.121 2004/10/18 01:45:38 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -139,7 +139,7 @@ ProcedureCreate(const char *procedureName,
139139
*/
140140
if (parameterCount == 1 && OidIsValid(typev[0]) &&
141141
(relid = typeidTypeRelid(typev[0])) != InvalidOid &&
142-
get_attnum(relid, (char *) procedureName) != InvalidAttrNumber)
142+
get_attnum(relid, procedureName) != InvalidAttrNumber)
143143
ereport(ERROR,
144144
(errcode(ERRCODE_DUPLICATE_COLUMN),
145145
errmsg("\"%s\" is already an attribute of type %s",

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