~ubuntu-branches/ubuntu/trusty/postgresql-8.4/trusty

« back to all changes in this revision

Viewing changes to contrib/btree_gist/btree_bit.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

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;