mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
From: Massimo Dal Zotto <dz@cs.unitn.it>
> sequence.patch > > adds the missing setval command to sequences. Owner of sequences > can now set the last value to any value between min and max > without recreating the sequence. This is useful after loading > data from external files.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
extern void DefineSequence(CreateSeqStmt *stmt);
|
||||
extern int4 nextval(struct varlena * seqname);
|
||||
extern int4 currval(struct varlena * seqname);
|
||||
extern int4 setval (struct varlena * seqname, int4 next);
|
||||
extern void CloseSequences(void);
|
||||
|
||||
#endif /* SEQUENCE_H */
|
||||
|
||||
Reference in New Issue
Block a user