1996-08-28 03:59:28 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pg_opclass.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
* definition of the system "opclass" relation (pg_opclass)
|
|
|
|
* along with the relation's initial contents.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1998-10-22 22:40:50 +02:00
|
|
|
* $Id: pg_opclass.h,v 1.15 1998/10/22 20:40:46 momjian Exp $
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
* NOTES
|
1997-09-07 07:04:48 +02:00
|
|
|
* the genbki.sh script reads this file and generates .bki
|
|
|
|
* information from the DATA() statements.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_OPCLASS_H
|
|
|
|
#define PG_OPCLASS_H
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* postgres.h contains the system type definintions and the
|
|
|
|
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
|
|
|
|
* can be read by both genbki.sh and the C compiler.
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* pg_opclass definition. cpp turns this into
|
|
|
|
* typedef struct FormData_pg_opclass
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
*/
|
1996-08-28 03:59:28 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
CATALOG(pg_opclass)
|
|
|
|
{
|
1997-09-08 04:41:22 +02:00
|
|
|
NameData opcname;
|
|
|
|
Oid opcdeftype;
|
1996-08-28 03:59:28 +02:00
|
|
|
} FormData_pg_opclass;
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* Form_pg_opclass corresponds to a pointer to a tuple with
|
|
|
|
* the format of pg_opclass relation.
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
typedef FormData_pg_opclass *Form_pg_opclass;
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* compiler constants for pg_opclass
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define Natts_pg_opclass 2
|
|
|
|
#define Anum_pg_opclass_opcname 1
|
|
|
|
#define Anum_pg_opclass_opcdeftype 2
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* initial contents of pg_opclass
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* putting _null_'s in the (fixed-length) type field is bad
|
|
|
|
* (see the README in this directory), so just put zeros
|
|
|
|
* in, which are invalid OID's anyway. --djm
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 421 ( int2_ops 21 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 422 ( box_ops 603 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 423 ( float8_ops 701 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 424 ( int24_ops 0 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 425 ( int42_ops 0 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 426 ( int4_ops 23 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1996-08-28 03:59:28 +02:00
|
|
|
#define INT4_OPS_OID 426
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 427 ( oid_ops 26 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 428 ( float4_ops 700 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 429 ( char_ops 18 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 431 ( text_ops 25 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 432 ( abstime_ops 702 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 433 ( bigbox_ops 0 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 434 ( poly_ops 604 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1998-08-19 04:04:17 +02:00
|
|
|
DATA(insert OID = 435 ( oid8_ops 30 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 714 ( circle_ops 718 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1076 ( bpchar_ops 1042 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1077 ( varchar_ops 1043 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1114 ( date_ops 1082 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1115 ( time_ops 1083 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1998-08-19 04:04:17 +02:00
|
|
|
DATA(insert OID = 1181 ( name_ops 19 ));
|
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1312 ( datetime_ops 1184 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1997-09-07 07:04:48 +02:00
|
|
|
DATA(insert OID = 1313 ( timespan_ops 1186 ));
|
1997-11-13 04:23:18 +01:00
|
|
|
DESCR("");
|
1998-10-03 07:41:01 +02:00
|
|
|
DATA(insert OID = 810 ( macaddr_ops 829 ));
|
|
|
|
DESCR("");
|
1998-10-22 22:40:50 +02:00
|
|
|
DATA(insert OID = 935 ( network_ops 869 ));
|
1998-10-03 07:41:01 +02:00
|
|
|
DESCR("");
|
1998-10-22 22:40:50 +02:00
|
|
|
DATA(insert OID = 652 ( network_ops 650 ));
|
1998-10-21 18:06:50 +02:00
|
|
|
DESCR("");
|
1996-08-28 03:59:28 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* PG_OPCLASS_H */
|