|
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/2819: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 |
| -Oidoid; |
785 |
| -Datumoid_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 */
|
|