Crate pgx_pg_sys
source · [−]Re-exports
Modules
Structs
Optimizable Statements
Query Tree
Raw Grammar Output Statements
Supporting data structures for Parse Trees
Enums
Constants
this comes from
postgres_ext.hStatics
System interrupt and critical section handling
globals.h – *
Traits
A trait for converting a thing into a
char * that is allocated by Postgres’ pallocA trait applied to all Postgres
pg_sys::Node types and subtypesFunctions
#define BufferGetBlock(buffer)
(
AssertMacro(BufferIsValid(buffer)),
BufferIsLocal(buffer) ?
LocalBufferBlockPointers[-(buffer) - 1]
:
(Block) (BufferBlocks + ((Size) ((buffer) - 1)) * BLCKSZ)
)
(
AssertMacro(BufferIsValid(buffer)),
BufferIsLocal(buffer) ?
LocalBufferBlockPointers[-(buffer) - 1]
:
(Block) (BufferBlocks + ((Size) ((buffer) - 1)) * BLCKSZ)
)
#define BufferGetPage(buffer) ((Page)BufferGetBlock(buffer))
#define BufferIsLocal(buffer) ((buffer) < 0)
#define HeapTupleHeaderIsHeapOnly(tup)
(
((tup)->t_infomask2 & HEAP_ONLY_TUPLE) != 0
)
(
((tup)->t_infomask2 & HEAP_ONLY_TUPLE) != 0
)
#define HeapTupleHeaderIsHotUpdated(tup)
(
((tup)->t_infomask2 & HEAP_HOT_UPDATED) != 0 &&
((tup)->t_infomask & HEAP_XMAX_INVALID) == 0 &&
!HeapTupleHeaderXminInvalid(tup)
)
(
((tup)->t_infomask2 & HEAP_HOT_UPDATED) != 0 &&
((tup)->t_infomask & HEAP_XMAX_INVALID) == 0 &&
!HeapTupleHeaderXminInvalid(tup)
)
#define HeapTupleHeaderXminInvalid(tup)
(
((tup)->t_infomask & (HEAP_XMIN_COMMITTED|HEAP_XMIN_INVALID)) ==
HEAP_XMIN_INVALID
)
(
((tup)->t_infomask & (HEAP_XMIN_COMMITTED|HEAP_XMIN_INVALID)) ==
HEAP_XMIN_INVALID
)
Safety
__j0⚠
__j1⚠
__jn⚠
__y0⚠
__y1⚠
__yn⚠
a64l⚠
abs⚠
acos⚠
asin⚠
atan⚠
atof⚠
atoi⚠
atol⚠
bcmp⚠
bind⚠
bit⚠
cbrt⚠
ceil⚠
chr⚠
cos⚠
cosf⚠
cosh⚠
cosl⚠
dcos⚠
dcot⚠
dexp⚠
die⚠
div⚠
dpi⚠
dpow⚠
drem⚠
dsin⚠
dtan⚠
dtof⚠
ecvt⚠
erf⚠
erfc⚠
erff⚠
erfl⚠
exit⚠
exp⚠
exp2⚠
expf⚠
expl⚠
fabs⚠
fcvt⚠
fdim⚠
feof⚠
ffs⚠
ffsl⚠
fls⚠
fma⚠
fmaf⚠
fmal⚠
fmax⚠
fmin⚠
fmod⚠
free⚠
ftod⚠
gcvt⚠
getc⚠
getw⚠
j0⚠
j0f⚠
j0l⚠
j1⚠
j1f⚠
j1l⚠
jn⚠
jnf⚠
jnl⚠
kill⚠
l64a⚠
labs⚠
ldiv⚠
log⚠
log2⚠
logb⚠
logf⚠
logl⚠
lpad⚠
modf⚠
nan⚠
nanf⚠
nanl⚠
now⚠
open⚠
oper⚠
pow⚠
powf⚠
powl⚠
putc⚠
puts⚠
putw⚠
rand⚠
rcmd⚠
recv⚠
rint⚠
rpad⚠
send⚠
sin⚠
sinf⚠
sinh⚠
sinl⚠
sqrt⚠
tan⚠
tanf⚠
tanh⚠
tanl⚠
time⚠
y0⚠
y0f⚠
y0l⚠
y1⚠
y1f⚠
y1l⚠
yn⚠
ynf⚠
ynl⚠
Type Definitions
Other Statements (no optimizations required)
pmod.h – *
POSTGRES processing mode definitions. *