aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2007-01-27 16:46:21 +0000
committerAndrew Dunstan <andrew@dunslane.net>2007-01-27 16:46:21 +0000
commitee57938c0b332d8b4283e0165820564eda68a56b (patch)
tree09d0dc5eb82e7873cbe22a1afba7ad3f8c413528
parent915abb346a43f18199cb4cc56b846dac430c6a43 (diff)
downloadpostgresql-ee57938c0b332d8b4283e0165820564eda68a56b.tar.gz
postgresql-ee57938c0b332d8b4283e0165820564eda68a56b.zip
remove unnecessary and now inaccurate cast which I should have removed with other old code.
-rw-r--r--src/pl/plperl/plperl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c
index 303024dd70d..c7b09de35f4 100644
--- a/src/pl/plperl/plperl.c
+++ b/src/pl/plperl/plperl.c
@@ -1,7 +1,7 @@
/**********************************************************************
* plperl.c - perl as a procedural language for PostgreSQL
*
- * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.124 2007/01/27 01:55:57 adunstan Exp $
+ * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.125 2007/01/27 16:46:21 adunstan Exp $
*
**********************************************************************/
@@ -2142,8 +2142,7 @@ plperl_spi_prepare(char *query, int argc, SV **argv)
getTypeInputInfo(typId, &typInput, &typIOParam);
qdesc->argtypes[i] = typId;
- perm_fmgr_info((Form_pg_type) typInput,
- &(qdesc->arginfuncs[i]));
+ perm_fmgr_info(typInput, &(qdesc->arginfuncs[i]));
qdesc->argtypioparams[i] = typIOParam;
}