PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
sequence.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* sequence.h
4
* Generic routines for sequence-related code.
5
*
6
*
7
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
* src/include/access/sequence.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef ACCESS_SEQUENCE_H
15
#define ACCESS_SEQUENCE_H
16
17
#include "
storage/lockdefs.h
"
18
#include "
utils/relcache.h
"
19
20
extern
Relation
sequence_open
(
Oid
relationId
,
LOCKMODE
lockmode);
21
extern
void
sequence_close
(
Relation
relation,
LOCKMODE
lockmode);
22
23
#endif
/* ACCESS_SEQUENCE_H */
sequence_open
Relation sequence_open(Oid relationId, LOCKMODE lockmode)
Definition
sequence.c:37
sequence_close
void sequence_close(Relation relation, LOCKMODE lockmode)
Definition
sequence.c:58
lockdefs.h
LOCKMODE
int LOCKMODE
Definition
lockdefs.h:26
Oid
unsigned int Oid
Definition
postgres_ext.h:32
fb
static int fb(int x)
Definition
preproc-init.c:92
relcache.h
RelationData
Definition
rel.h:56
src
include
access
sequence.h
Generated on Sat Feb 7 2026 06:13:16 for PostgreSQL Source Code by
1.9.8