mirror of
https://github.com/postgres/postgres.git
synced 2026-02-19 02:29:10 -05:00
24 lines
694 B
C
24 lines
694 B
C
|
|
/*-------------------------------------------------------------------------
|
||
|
|
*
|
||
|
|
* sequence.h
|
||
|
|
* Generic routines for sequence-related code.
|
||
|
|
*
|
||
|
|
*
|
||
|
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||
|
|
*
|
||
|
|
* src/include/access/sequence.h
|
||
|
|
*
|
||
|
|
*-------------------------------------------------------------------------
|
||
|
|
*/
|
||
|
|
#ifndef ACCESS_SEQUENCE_H
|
||
|
|
#define ACCESS_SEQUENCE_H
|
||
|
|
|
||
|
|
#include "storage/lockdefs.h"
|
||
|
|
#include "utils/relcache.h"
|
||
|
|
|
||
|
|
extern Relation sequence_open(Oid relationId, LOCKMODE lockmode);
|
||
|
|
extern void sequence_close(Relation relation, LOCKMODE lockmode);
|
||
|
|
|
||
|
|
#endif /* ACCESS_SEQUENCE_H */
|