~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to contrib/intarray/_int_gist.c

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Backport
  • Date: 2009-11-09 13:46:16 UTC
  • mfrom: (5.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091109134616-ae14l9tr3g7p2t9y
Tags: 8.4.1-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $PostgreSQL: pgsql/contrib/intarray/_int_gist.c,v 1.22 2008/05/17 01:28:19 adunstan Exp $ 
 
2
 * $PostgreSQL: pgsql/contrib/intarray/_int_gist.c,v 1.23 2009/06/11 14:48:51 momjian Exp $
3
3
 */
4
4
#include "postgres.h"
5
5
 
42
42
        GISTENTRY  *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
43
43
        ArrayType  *query = (ArrayType *) PG_DETOAST_DATUM_COPY(PG_GETARG_POINTER(1));
44
44
        StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2);
 
45
 
45
46
        /* Oid          subtype = PG_GETARG_OID(3); */
46
47
        bool       *recheck = (bool *) PG_GETARG_POINTER(4);
47
48
        bool            retval;