* Copyright (c) 2002-2007, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.67 2007/01/05 22:19:26 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.68 2007/01/28 19:05:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
i = 0;
foreach(lc, oid_list)
{
- Oid oid;
- Datum oid_str;
-
- oid = lfirst_oid(lc);
- oid_str = DirectFunctionCall1(oidout, ObjectIdGetDatum(oid));
- tmp_ary[i++] = DirectFunctionCall1(regtypein, oid_str);
+ tmp_ary[i++] = ObjectIdGetDatum(lfirst_oid(lc));
}
/* XXX: this hardcodes assumptions about the regtype type */