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 system "sequence" relation (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  * -------------------------------------------------------------------------
10  */
11 #ifndef PG_SEQUENCE_H
12 #define PG_SEQUENCE_H
13 
14 #include "catalog/genbki.h"
15 
16 #define SequenceRelationId 2224
17 
18 CATALOG(pg_sequence,2224) BKI_WITHOUT_OIDS
19 {
20  Oid seqrelid;
21  Oid seqtypid;
22  int64 seqstart;
23  int64 seqincrement;
24  int64 seqmax;
25  int64 seqmin;
26  int64 seqcache;
27  bool seqcycle;
29 
31 
32 #define Natts_pg_sequence 8
33 #define Anum_pg_sequence_seqrelid 1
34 #define Anum_pg_sequence_seqtypid 2
35 #define Anum_pg_sequence_seqstart 3
36 #define Anum_pg_sequence_seqincrement 4
37 #define Anum_pg_sequence_seqmax 5
38 #define Anum_pg_sequence_seqmin 6
39 #define Anum_pg_sequence_seqcache 7
40 #define Anum_pg_sequence_seqcycle 8
41 
42 #endif /* PG_SEQUENCE_H */
FormData_pg_sequence * Form_pg_sequence
Definition: pg_sequence.h:30
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_WITHOUT_OIDS
Definition: genbki.h:28
FormData_pg_sequence
Definition: pg_sequence.h:28
CATALOG(pg_sequence, 2224) BKI_WITHOUT_OIDS
Definition: pg_sequence.h:18