PostgreSQL Source Code  git master
pg_sequence.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_sequence_d.h"
Include dependency graph for pg_sequence.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_sequenceForm_pg_sequence
 

Functions

 CATALOG (pg_sequence, 2224, SequenceRelationId)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_sequence_seqrelid_index, 5002, SequenceRelidIndexId, on pg_sequence using btree(seqrelid oid_ops))
 

Variables

 FormData_pg_sequence
 

Typedef Documentation

◆ Form_pg_sequence

Definition at line 40 of file pg_sequence.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_sequence  ,
2224  ,
SequenceRelationId   
)

Definition at line 23 of file pg_sequence.h.

References BKI_LOOKUP.

24 {
25  Oid seqrelid BKI_LOOKUP(pg_class);
26  Oid seqtypid BKI_LOOKUP(pg_type);
27  int64 seqstart;
28  int64 seqincrement;
29  int64 seqmax;
30  int64 seqmin;
31  int64 seqcache;
32  bool seqcycle;
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_sequence
Definition: pg_sequence.h:33
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_sequence_seqrelid_index  ,
5002  ,
SequenceRelidIndexId  ,
on pg_sequence using   btreeseqrelid oid_ops 
)

Variable Documentation

◆ FormData_pg_sequence

FormData_pg_sequence

Definition at line 33 of file pg_sequence.h.

Referenced by DefineSequence().