1997-11-06 05:38:25 +08:00
|
|
|
#ifndef ARRAY_ITERATOR_H
|
|
|
|
#define ARRAY_ITERATOR_H
|
|
|
|
|
1999-05-26 00:15:34 +08:00
|
|
|
static int32 array_iterator(Oid elemtype, Oid proc, int and,
|
1999-06-06 03:09:48 +08:00
|
|
|
ArrayType *array, Datum value);
|
|
|
|
|
1998-02-26 12:46:47 +08:00
|
|
|
int32 array_texteq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_texteq(ArrayType *array, char *value);
|
|
|
|
int32 array_textregexeq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_textregexeq(ArrayType *array, char *value);
|
1999-06-06 03:09:48 +08:00
|
|
|
|
|
|
|
int32 array_varchareq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_varchareq(ArrayType *array, char *value);
|
|
|
|
int32 array_varcharregexeq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_varcharregexeq(ArrayType *array, char *value);
|
|
|
|
|
|
|
|
int32 array_bpchareq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_bpchareq(ArrayType *array, char *value);
|
|
|
|
int32 array_bpcharregexeq(ArrayType *array, char *value);
|
|
|
|
int32 array_all_bpcharregexeq(ArrayType *array, char *value);
|
|
|
|
|
1998-02-26 12:46:47 +08:00
|
|
|
int32 array_int4eq(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4eq(ArrayType *array, int4 value);
|
|
|
|
int32 array_int4ne(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4ne(ArrayType *array, int4 value);
|
|
|
|
int32 array_int4gt(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4gt(ArrayType *array, int4 value);
|
|
|
|
int32 array_int4ge(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4ge(ArrayType *array, int4 value);
|
|
|
|
int32 array_int4lt(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4lt(ArrayType *array, int4 value);
|
|
|
|
int32 array_int4le(ArrayType *array, int4 value);
|
|
|
|
int32 array_all_int4le(ArrayType *array, int4 value);
|
1999-05-26 00:15:34 +08:00
|
|
|
|
1999-06-06 03:09:48 +08:00
|
|
|
int32 array_oideq(ArrayType *array, Oid value);
|
|
|
|
int32 array_all_oidne(ArrayType *array, Oid value);
|
1997-11-06 05:38:25 +08:00
|
|
|
#endif
|
1999-06-06 03:09:48 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local Variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-indent-level: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
*/
|