PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
xid8.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* xid8.h
4
* Header file for the "xid8" ADT.
5
*
6
* Copyright (c) 2020-2025, PostgreSQL Global Development Group
7
*
8
* src/include/utils/xid8.h
9
*
10
*-------------------------------------------------------------------------
11
*/
12
#ifndef XID8_H
13
#define XID8_H
14
15
#include "
access/transam.h
"
16
17
static
inline
FullTransactionId
18
DatumGetFullTransactionId
(
Datum
X)
19
{
20
return
FullTransactionIdFromU64
(
DatumGetUInt64
(X));
21
}
22
23
static
inline
Datum
24
FullTransactionIdGetDatum
(
FullTransactionId
X)
25
{
26
return
UInt64GetDatum
(
U64FromFullTransactionId
(X));
27
}
28
29
#define PG_GETARG_FULLTRANSACTIONID(X) DatumGetFullTransactionId(PG_GETARG_DATUM(X))
30
#define PG_RETURN_FULLTRANSACTIONID(X) return FullTransactionIdGetDatum(X)
31
32
#endif
/* XID8_H */
DatumGetUInt64
static uint64 DatumGetUInt64(Datum X)
Definition:
postgres.h:424
Datum
uintptr_t Datum
Definition:
postgres.h:69
UInt64GetDatum
static Datum UInt64GetDatum(uint64 X)
Definition:
postgres.h:441
FullTransactionId
Definition:
transam.h:66
transam.h
U64FromFullTransactionId
#define U64FromFullTransactionId(x)
Definition:
transam.h:49
FullTransactionIdFromU64
static FullTransactionId FullTransactionIdFromU64(uint64 value)
Definition:
transam.h:81
DatumGetFullTransactionId
static FullTransactionId DatumGetFullTransactionId(Datum X)
Definition:
xid8.h:18
FullTransactionIdGetDatum
static Datum FullTransactionIdGetDatum(FullTransactionId X)
Definition:
xid8.h:24
src
include
utils
xid8.h
Generated on Mon Apr 14 2025 18:13:27 for PostgreSQL Source Code by
1.9.4