mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
27 lines
470 B
C
27 lines
470 B
C
#include "postgres.h"
|
|
|
|
#include "access/gist.h"
|
|
#include "access/itup.h"
|
|
#include "access/nbtree.h"
|
|
#include "utils/geo_decls.h"
|
|
|
|
typedef int (*CMPFUNC) (const void *a, const void *b);
|
|
typedef void (*BINARY_UNION) (Datum *, char *);
|
|
|
|
|
|
/* used for sorting */
|
|
|
|
typedef struct rix
|
|
{
|
|
int index;
|
|
char *r;
|
|
} RIX;
|
|
|
|
/*
|
|
** Common btree-function (for all ops)
|
|
*/
|
|
|
|
extern GIST_SPLITVEC *btree_picksplit(bytea *entryvec, GIST_SPLITVEC *v,
|
|
BINARY_UNION bu, CMPFUNC cmp);
|
|
|