Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7877860

Browse files
committed
contrib/array_iterator/array_iterator.c won't compile.
Included patches should fix the problem.--Tatsuo Ishii
1 parent33cac03 commit7877860

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎contrib/array/array_iterator.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828

2929
#include"array_iterator.h"
3030

31+
staticint32
3132
array_iterator(Oidelemtype,Oidproc,intand,ArrayType*array,Datumvalue)
3233
{
3334
HeapTupletyp_tuple;
34-
TypeTupleFormtyp_struct;
35+
Form_pg_typetyp_struct;
3536
booltypbyval;
3637
inttyplen;
3738
func_ptrproc_fn;
@@ -43,6 +44,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
4344
*dim;
4445
char*p;
4546
FmgrInfofinf;/*Tobias Gabele Jan 18 1999*/
47+
4648

4749
/* Sanity checks */
4850
if ((array== (ArrayType*)NULL)
@@ -67,7 +69,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
6769
elog(ERROR,"array_iterator: cache lookup failed for type %d",elemtype);
6870
return0;
6971
}
70-
typ_struct= (TypeTupleForm)GETSTRUCT(typ_tuple);
72+
typ_struct= (Form_pg_type)GETSTRUCT(typ_tuple);
7173
typlen=typ_struct->typlen;
7274
typbyval=typ_struct->typbyval;
7375

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp