diff options
Diffstat (limited to 'src/include/commands/sequence.h')
-rw-r--r-- | src/include/commands/sequence.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/include/commands/sequence.h b/src/include/commands/sequence.h index 4e341e9277d..88497253b32 100644 --- a/src/include/commands/sequence.h +++ b/src/include/commands/sequence.h @@ -1,7 +1,7 @@ /*------------------------------------------------------------------------- * * sequence.h-- - * prototypes for sequence.c. + * prototypes for sequence.c. * * *------------------------------------------------------------------------- @@ -9,25 +9,25 @@ #ifndef SEQUENCE_H #define SEQUENCE_H -/* +/* * Columns of a sequnece relation */ - -#define SEQ_COL_NAME 1 -#define SEQ_COL_LASTVAL 2 -#define SEQ_COL_INCBY 3 -#define SEQ_COL_MAXVALUE 4 -#define SEQ_COL_MINVALUE 5 -#define SEQ_COL_CACHE 6 -#define SEQ_COL_CYCLE 7 -#define SEQ_COL_CALLED 8 -#define SEQ_COL_FIRSTCOL SEQ_COL_NAME -#define SEQ_COL_LASTCOL SEQ_COL_CALLED +#define SEQ_COL_NAME 1 +#define SEQ_COL_LASTVAL 2 +#define SEQ_COL_INCBY 3 +#define SEQ_COL_MAXVALUE 4 +#define SEQ_COL_MINVALUE 5 +#define SEQ_COL_CACHE 6 +#define SEQ_COL_CYCLE 7 +#define SEQ_COL_CALLED 8 -extern void DefineSequence (CreateSeqStmt *stmt); -extern int4 nextval (struct varlena *seqname); -extern int4 currval (struct varlena *seqname); -extern void CloseSequences (void); +#define SEQ_COL_FIRSTCOL SEQ_COL_NAME +#define SEQ_COL_LASTCOL SEQ_COL_CALLED -#endif /* SEQUENCE_H */ +extern void DefineSequence(CreateSeqStmt * stmt); +extern int4 nextval(struct varlena * seqname); +extern int4 currval(struct varlena * seqname); +extern void CloseSequences(void); + +#endif /* SEQUENCE_H */ |