aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/sequence.h
blob: fb8708861b5523c0cce76b25eaf60345bf1bf241 (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-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 */