File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 10
10
* Copyright (c) 2002-2007, PostgreSQL Global Development Group
11
11
*
12
12
* IDENTIFICATION
13
- * $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.67 2007/01/05 22: 19:26 momjian Exp $
13
+ * $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.68 2007/01/28 19:05:35 tgl Exp $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
@@ -781,12 +781,7 @@ build_regtype_array(List *oid_list)
781
781
i = 0 ;
782
782
foreach (lc , oid_list )
783
783
{
784
- Oid oid ;
785
- Datum oid_str ;
786
-
787
- oid = lfirst_oid (lc );
788
- oid_str = DirectFunctionCall1 (oidout , ObjectIdGetDatum (oid ));
789
- tmp_ary [i ++ ] = DirectFunctionCall1 (regtypein , oid_str );
784
+ tmp_ary [i ++ ] = ObjectIdGetDatum (lfirst_oid (lc ));
790
785
}
791
786
792
787
/* XXX: this hardcodes assumptions about the regtype type */
You can’t perform that action at this time.
0 commit comments