mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 15:23:23 +02:00
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
48 lines
675 B
C
48 lines
675 B
C
/*
|
|
* $PostgreSQL: pgsql/contrib/btree_gist/btree_gist.h,v 1.8 2008/05/17 01:28:19 adunstan Exp $
|
|
*/
|
|
#ifndef __BTREE_GIST_H__
|
|
#define __BTREE_GIST_H__
|
|
|
|
#include "postgres.h"
|
|
#include "access/gist.h"
|
|
#include "access/itup.h"
|
|
#include "access/nbtree.h"
|
|
|
|
/* indexed types */
|
|
|
|
enum gbtree_type
|
|
{
|
|
gbt_t_var,
|
|
gbt_t_int2,
|
|
gbt_t_int4,
|
|
gbt_t_int8,
|
|
gbt_t_float4,
|
|
gbt_t_float8,
|
|
gbt_t_numeric,
|
|
gbt_t_ts,
|
|
gbt_t_cash,
|
|
gbt_t_oid,
|
|
gbt_t_time,
|
|
gbt_t_date,
|
|
gbt_t_intv,
|
|
gbt_t_macad,
|
|
gbt_t_text,
|
|
gbt_t_bpchar,
|
|
gbt_t_bytea,
|
|
gbt_t_bit,
|
|
gbt_t_inet
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
* Generic btree functions
|
|
*/
|
|
|
|
Datum gbtreekey_in(PG_FUNCTION_ARGS);
|
|
|
|
Datum gbtreekey_out(PG_FUNCTION_ARGS);
|
|
|
|
#endif
|