1996-08-28 03:59:28 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* pg_amproc.h
|
2000-06-19 05:55:01 +02:00
|
|
|
* definition of the system "amproc" relation (pg_amproc)
|
2001-08-21 18:36:06 +02:00
|
|
|
* along with the relation's initial contents.
|
|
|
|
*
|
|
|
|
* The amproc table identifies support procedures associated with index
|
|
|
|
* opclasses. These procedures can't be listed in pg_amop since they are
|
2003-11-12 22:15:59 +01:00
|
|
|
* not the implementation of any indexable operator for the opclass.
|
2001-08-21 18:36:06 +02:00
|
|
|
*
|
2003-11-12 22:15:59 +01:00
|
|
|
* The primary key for this table is <amopclaid, amprocsubtype, amprocnum>.
|
|
|
|
* amprocsubtype is equal to zero for an opclass's "default" procedures.
|
|
|
|
* Usually a nondefault amprocsubtype indicates a support procedure to be
|
|
|
|
* used with operators having the same nondefault amopsubtype. The exact
|
|
|
|
* behavior depends on the index AM, however, and some don't pay attention
|
|
|
|
* to subtype at all.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*
|
2003-08-04 04:40:20 +02:00
|
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
2004-03-22 02:38:18 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/catalog/pg_amproc.h,v 1.48 2004/03/22 01:38:17 tgl 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_AMPROC_H
|
|
|
|
#define PG_AMPROC_H
|
|
|
|
|
|
|
|
/* ----------------
|
1997-11-30 23:58:07 +01:00
|
|
|
* postgres.h contains the system type definitions and the
|
1997-09-07 07:04:48 +02:00
|
|
|
* 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_amproc definition. cpp turns this into
|
|
|
|
* typedef struct FormData_pg_amproc
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
*/
|
2001-08-10 20:57:42 +02:00
|
|
|
CATALOG(pg_amproc) BKI_WITHOUT_OIDS
|
1997-09-07 07:04:48 +02:00
|
|
|
{
|
2001-08-21 18:36:06 +02:00
|
|
|
Oid amopclaid; /* the index opclass this entry is for */
|
2003-11-12 22:15:59 +01:00
|
|
|
Oid amprocsubtype; /* procedure subtype, or zero if default */
|
2000-06-19 05:55:01 +02:00
|
|
|
int2 amprocnum; /* support procedure index */
|
2001-08-21 18:36:06 +02:00
|
|
|
regproc amproc; /* OID of the proc */
|
1996-08-28 03:59:28 +02:00
|
|
|
} FormData_pg_amproc;
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* Form_pg_amproc corresponds to a pointer to a tuple with
|
|
|
|
* the format of pg_amproc relation.
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
typedef FormData_pg_amproc *Form_pg_amproc;
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* compiler constants for pg_amproc
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
2003-11-12 22:15:59 +01:00
|
|
|
#define Natts_pg_amproc 4
|
2001-08-21 18:36:06 +02:00
|
|
|
#define Anum_pg_amproc_amopclaid 1
|
2003-11-12 22:15:59 +01:00
|
|
|
#define Anum_pg_amproc_amprocsubtype 2
|
|
|
|
#define Anum_pg_amproc_amprocnum 3
|
|
|
|
#define Anum_pg_amproc_amproc 4
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* initial contents of pg_amproc
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1998-09-01 06:40:42 +02:00
|
|
|
|
1998-08-19 04:04:17 +02:00
|
|
|
/* rtree */
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 425 0 1 193 ));
|
|
|
|
DATA(insert ( 425 0 2 194 ));
|
|
|
|
DATA(insert ( 425 0 3 195 ));
|
|
|
|
DATA(insert ( 1993 0 1 197 ));
|
|
|
|
DATA(insert ( 1993 0 2 198 ));
|
|
|
|
DATA(insert ( 1993 0 3 199 ));
|
1998-08-19 04:04:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* btree */
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 397 0 1 382 ));
|
|
|
|
DATA(insert ( 421 0 1 357 ));
|
|
|
|
DATA(insert ( 423 0 1 1596 ));
|
|
|
|
DATA(insert ( 424 0 1 1693 ));
|
|
|
|
DATA(insert ( 426 0 1 1078 ));
|
|
|
|
DATA(insert ( 428 0 1 1954 ));
|
|
|
|
DATA(insert ( 429 0 1 358 ));
|
|
|
|
DATA(insert ( 432 0 1 926 ));
|
|
|
|
DATA(insert ( 434 0 1 1092 ));
|
2004-02-14 21:16:18 +01:00
|
|
|
DATA(insert ( 434 1114 1 2344 ));
|
|
|
|
DATA(insert ( 434 1184 1 2357 ));
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 1970 0 1 354 ));
|
|
|
|
DATA(insert ( 1970 701 1 2194 ));
|
|
|
|
DATA(insert ( 1972 0 1 355 ));
|
|
|
|
DATA(insert ( 1972 700 1 2195 ));
|
|
|
|
DATA(insert ( 1974 0 1 926 ));
|
|
|
|
DATA(insert ( 1976 0 1 350 ));
|
|
|
|
DATA(insert ( 1976 23 1 2190 ));
|
|
|
|
DATA(insert ( 1976 20 1 2192 ));
|
|
|
|
DATA(insert ( 1978 0 1 351 ));
|
|
|
|
DATA(insert ( 1978 20 1 2188 ));
|
|
|
|
DATA(insert ( 1978 21 1 2191 ));
|
|
|
|
DATA(insert ( 1980 0 1 842 ));
|
|
|
|
DATA(insert ( 1980 23 1 2189 ));
|
|
|
|
DATA(insert ( 1980 21 1 2193 ));
|
|
|
|
DATA(insert ( 1982 0 1 1315 ));
|
|
|
|
DATA(insert ( 1984 0 1 836 ));
|
|
|
|
DATA(insert ( 1986 0 1 359 ));
|
|
|
|
DATA(insert ( 1988 0 1 1769 ));
|
|
|
|
DATA(insert ( 1989 0 1 356 ));
|
|
|
|
DATA(insert ( 1991 0 1 404 ));
|
|
|
|
DATA(insert ( 1994 0 1 360 ));
|
|
|
|
DATA(insert ( 1996 0 1 1107 ));
|
|
|
|
DATA(insert ( 1998 0 1 1314 ));
|
2004-02-14 21:16:18 +01:00
|
|
|
DATA(insert ( 1998 1082 1 2383 ));
|
2004-03-22 02:38:18 +01:00
|
|
|
DATA(insert ( 1998 1114 1 2533 ));
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 2000 0 1 1358 ));
|
|
|
|
DATA(insert ( 2002 0 1 1672 ));
|
|
|
|
DATA(insert ( 2003 0 1 360 ));
|
|
|
|
DATA(insert ( 2039 0 1 2045 ));
|
2004-02-14 21:16:18 +01:00
|
|
|
DATA(insert ( 2039 1082 1 2370 ));
|
2004-03-22 02:38:18 +01:00
|
|
|
DATA(insert ( 2039 1184 1 2526 ));
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 2095 0 1 2166 ));
|
|
|
|
DATA(insert ( 2096 0 1 2166 ));
|
|
|
|
DATA(insert ( 2097 0 1 2180 ));
|
|
|
|
DATA(insert ( 2098 0 1 2187 ));
|
|
|
|
DATA(insert ( 2099 0 1 377 ));
|
|
|
|
DATA(insert ( 2233 0 1 380 ));
|
|
|
|
DATA(insert ( 2234 0 1 381 ));
|
1996-08-28 03:59:28 +02:00
|
|
|
|
1998-08-19 04:04:17 +02:00
|
|
|
|
|
|
|
/* hash */
|
2003-11-12 22:15:59 +01:00
|
|
|
DATA(insert ( 427 0 1 1080 ));
|
|
|
|
DATA(insert ( 431 0 1 454 ));
|
|
|
|
DATA(insert ( 433 0 1 456 ));
|
|
|
|
DATA(insert ( 435 0 1 450 ));
|
|
|
|
DATA(insert ( 1971 0 1 451 ));
|
|
|
|
DATA(insert ( 1973 0 1 452 ));
|
|
|
|
DATA(insert ( 1975 0 1 456 ));
|
|
|
|
DATA(insert ( 1977 0 1 449 ));
|
|
|
|
DATA(insert ( 1979 0 1 450 ));
|
|
|
|
DATA(insert ( 1981 0 1 949 ));
|
|
|
|
DATA(insert ( 1983 0 1 1697 ));
|
|
|
|
DATA(insert ( 1985 0 1 399 ));
|
|
|
|
DATA(insert ( 1987 0 1 455 ));
|
|
|
|
DATA(insert ( 1990 0 1 453 ));
|
|
|
|
DATA(insert ( 1992 0 1 457 ));
|
|
|
|
DATA(insert ( 1995 0 1 400 ));
|
|
|
|
DATA(insert ( 1997 0 1 452 ));
|
|
|
|
DATA(insert ( 1999 0 1 452 ));
|
|
|
|
DATA(insert ( 2001 0 1 1696 ));
|
|
|
|
DATA(insert ( 2004 0 1 400 ));
|
|
|
|
DATA(insert ( 2040 0 1 452 ));
|
|
|
|
DATA(insert ( 2222 0 1 454 ));
|
|
|
|
DATA(insert ( 2223 0 1 456 ));
|
|
|
|
DATA(insert ( 2224 0 1 398 ));
|
|
|
|
DATA(insert ( 2225 0 1 450 ));
|
|
|
|
DATA(insert ( 2226 0 1 450 ));
|
|
|
|
DATA(insert ( 2227 0 1 450 ));
|
|
|
|
DATA(insert ( 2228 0 1 450 ));
|
|
|
|
DATA(insert ( 2229 0 1 456 ));
|
|
|
|
DATA(insert ( 2230 0 1 456 ));
|
|
|
|
DATA(insert ( 2231 0 1 456 ));
|
|
|
|
DATA(insert ( 2232 0 1 455 ));
|
|
|
|
DATA(insert ( 2235 0 1 329 ));
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PG_AMPROC_H */
|