PostgreSQL Source Code  git master
PLyObToDatum Struct Reference

#include <plpy_typeio.h>

Data Fields

PLyObToDatumFunc func
 
Oid typoid
 
int32 typmod
 
bool typbyval
 
int16 typlen
 
char typalign
 
MemoryContext mcxt
 
union {
   PLyObToScalar   scalar
 
   PLyObToArray   array
 
   PLyObToTuple   tuple
 
   PLyObToDomain   domain
 
   PLyObToTransform   transform
 
u
 

Detailed Description

Definition at line 130 of file plpy_typeio.h.

Field Documentation

◆ array

PLyObToArray PLyObToDatum::array

Definition at line 142 of file plpy_typeio.h.

◆ domain

PLyObToDomain PLyObToDatum::domain

Definition at line 144 of file plpy_typeio.h.

◆ func

◆ mcxt

MemoryContext PLyObToDatum::mcxt

Definition at line 138 of file plpy_typeio.h.

◆ scalar

PLyObToScalar PLyObToDatum::scalar

Definition at line 141 of file plpy_typeio.h.

◆ transform

PLyObToTransform PLyObToDatum::transform

Definition at line 145 of file plpy_typeio.h.

◆ tuple

PLyObToTuple PLyObToDatum::tuple

Definition at line 143 of file plpy_typeio.h.

Referenced by PLy_modify_tuple().

◆ typalign

char PLyObToDatum::typalign

Definition at line 137 of file plpy_typeio.h.

◆ typbyval

bool PLyObToDatum::typbyval

Definition at line 135 of file plpy_typeio.h.

Referenced by PLy_cursor_plan(), and PLy_spi_execute_plan().

◆ typlen

int16 PLyObToDatum::typlen

Definition at line 136 of file plpy_typeio.h.

◆ typmod

int32 PLyObToDatum::typmod

Definition at line 134 of file plpy_typeio.h.

Referenced by PLy_output_setup_tuple().

◆ typoid

◆ 

union { ... } PLyObToDatum::u

Referenced by PLy_modify_tuple().


The documentation for this struct was generated from the following file: