1 /* -------------------------------------------------------------------------
2  *
3  * pg_sequence.h
4  *	  definition of the "sequence" system catalog (pg_sequence)
5  *
6  * Portions Copyright (c) 1996-2019, 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)
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;
33 } FormData_pg_sequence;
34 
35 /* ----------------
36  *		Form_pg_sequence corresponds to a pointer to a tuple with
37  *		the format of pg_sequence relation.
38  * ----------------
39  */
40 typedef FormData_pg_sequence *Form_pg_sequence;
41 
42 #endif							/* PG_SEQUENCE_H */
43