aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/sequence.h
blob: 27dde29542a8387cbcddc32b2c4abd4391c67e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*-------------------------------------------------------------------------
 *
 * sequence.h
 *	  Generic routines for sequence-related code.
 *
 *
 * Portions Copyright (c) 1996-2025, 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 */