1996-08-28 03:59:28 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* pg_inherits.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* definition of the system "inherits" relation (pg_inherits)
|
|
|
|
* along with the relation's initial contents.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2009, 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
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/catalog/pg_inherits.h,v 1.26 2009/01/01 17:23:57 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_INHERITS_H
|
|
|
|
#define PG_INHERITS_H
|
|
|
|
|
2008-03-27 04:57:34 +01:00
|
|
|
#include "catalog/genbki.h"
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* pg_inherits definition. cpp turns this into
|
|
|
|
* typedef struct FormData_pg_inherits
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
*/
|
2005-10-15 04:49:52 +02:00
|
|
|
#define InheritsRelationId 2611
|
2005-04-14 03:38:22 +02:00
|
|
|
|
|
|
|
CATALOG(pg_inherits,2611) BKI_WITHOUT_OIDS
|
1997-09-07 07:04:48 +02:00
|
|
|
{
|
1999-11-22 18:56:41 +01:00
|
|
|
Oid inhrelid;
|
1997-09-08 04:41:22 +02:00
|
|
|
Oid inhparent;
|
|
|
|
int4 inhseqno;
|
1996-08-28 03:59:28 +02:00
|
|
|
} FormData_pg_inherits;
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* Form_pg_inherits corresponds to a pointer to a tuple with
|
|
|
|
* the format of pg_inherits relation.
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1998-09-01 05:29:17 +02:00
|
|
|
typedef FormData_pg_inherits *Form_pg_inherits;
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* compiler constants for pg_inherits
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define Natts_pg_inherits 3
|
1999-11-22 18:56:41 +01:00
|
|
|
#define Anum_pg_inherits_inhrelid 1
|
1997-09-07 07:04:48 +02:00
|
|
|
#define Anum_pg_inherits_inhparent 2
|
|
|
|
#define Anum_pg_inherits_inhseqno 3
|
1996-08-28 03:59:28 +02:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PG_INHERITS_H */
|