~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to contrib/btree_gist/btree_bit.c

Tags: upstream-8.4.0
ImportĀ upstreamĀ versionĀ 8.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.9 2008/05/17 01:28:19 adunstan Exp $ 
 
2
 * $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.10 2009/06/11 14:48:50 momjian Exp $
3
3
 */
4
4
#include "btree_gist.h"
5
5
#include "btree_utils_var.h"
82
82
 
83
83
 
84
84
static GBT_VARKEY *
85
 
gbt_bit_l2n(GBT_VARKEY * leaf)
 
85
gbt_bit_l2n(GBT_VARKEY *leaf)
86
86
{
87
87
 
88
88
        GBT_VARKEY *out = leaf;
131
131
        GISTENTRY  *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
132
132
        void       *query = (void *) DatumGetByteaP(PG_GETARG_DATUM(1));
133
133
        StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2);
 
134
 
134
135
        /* Oid          subtype = PG_GETARG_OID(3); */
135
136
        bool       *recheck = (bool *) PG_GETARG_POINTER(4);
136
137
        bool            retval = FALSE;