PostgreSQL Source Code  git master
pg_sequence.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  *
3  * pg_sequence.h
4  * definition of the "sequence" system catalog (pg_sequence)
5  *
6  * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/catalog/pg_sequence.h
10  *
11  * NOTES
12  * The Catalog.pm module reads this file and derives schema
13  * information.
14  *
15  * -------------------------------------------------------------------------
16  */
17 #ifndef PG_SEQUENCE_H
18 #define PG_SEQUENCE_H
19 
20 #include "catalog/genbki.h"
21 #include "catalog/pg_sequence_d.h"
22 
23 CATALOG(pg_sequence,2224,SequenceRelationId) BKI_WITHOUT_OIDS
24 {
25  Oid seqrelid;
26  Oid seqtypid;
27  int64 seqstart;
28  int64 seqincrement;
29  int64 seqmax;
30  int64 seqmin;
31  int64 seqcache;
32  bool seqcycle;
34 
35 /* ----------------
36  * Form_pg_sequence corresponds to a pointer to a tuple with
37  * the format of pg_sequence relation.
38  * ----------------
39  */
41 
42 #endif /* PG_SEQUENCE_H */
FormData_pg_sequence * Form_pg_sequence
Definition: pg_sequence.h:40
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_WITHOUT_OIDS
Definition: genbki.h:28
FormData_pg_sequence
Definition: pg_sequence.h:33
CATALOG(pg_sequence, 2224, SequenceRelationId) BKI_WITHOUT_OIDS
Definition: pg_sequence.h:23