mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
27b8143944
I have updated my contrib code for version 6.5. In the attachment you will find the directories array, datetime, miscutil, string, tools and userlocks which replace the corresponding directories under contrib. In contrib/tools you will find some developement scripts which I use while hacking the sources. I hope they will be useful for some other people. I have also added a contrib/Makefile which tries to compile and install all the contribs. Unfortunately many of them don't have a Makefile or don't compile cleanly. -- Massimo Dal Zotto
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
#ifndef ARRAY_ITERATOR_H
|
|
#define ARRAY_ITERATOR_H
|
|
|
|
static int32 array_iterator(Oid elemtype, Oid proc, int and,
|
|
ArrayType *array, Datum value);
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
int32 array_oideq(ArrayType *array, Oid value);
|
|
int32 array_all_oidne(ArrayType *array, Oid value);
|
|
#endif
|
|
|
|
/*
|
|
* Local Variables:
|
|
* tab-width: 4
|
|
* c-indent-level: 4
|
|
* c-basic-offset: 4
|
|
* End:
|
|
*/
|