PostgreSQL Source Code  git master
PgFdwScanState Struct Reference

Data Fields

Relation rel
 
TupleDesc tupdesc
 
AttInMetadataattinmeta
 
char * query
 
Listretrieved_attrs
 
PGconnconn
 
unsigned int cursor_number
 
bool cursor_exists
 
int numParams
 
FmgrInfoparam_flinfo
 
Listparam_exprs
 
const char ** param_values
 
HeapTupletuples
 
int num_tuples
 
int next_tuple
 
int fetch_ct_2
 
bool eof_reached
 
MemoryContext batch_cxt
 
MemoryContext temp_cxt
 
int fetch_size
 

Detailed Description

Definition at line 128 of file postgres_fdw.c.

Field Documentation

◆ attinmeta

AttInMetadata* PgFdwScanState::attinmeta

Definition at line 133 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ batch_cxt

MemoryContext PgFdwScanState::batch_cxt

Definition at line 158 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ conn

◆ cursor_exists

bool PgFdwScanState::cursor_exists

◆ cursor_number

unsigned int PgFdwScanState::cursor_number

◆ eof_reached

bool PgFdwScanState::eof_reached

◆ fetch_ct_2

int PgFdwScanState::fetch_ct_2

Definition at line 154 of file postgres_fdw.c.

Referenced by create_cursor(), fetch_more_data(), and postgresReScanForeignScan().

◆ fetch_size

int PgFdwScanState::fetch_size

Definition at line 161 of file postgres_fdw.c.

Referenced by fetch_more_data(), and postgresAcquireSampleRowsFunc().

◆ next_tuple

int PgFdwScanState::next_tuple

◆ num_tuples

int PgFdwScanState::num_tuples

◆ numParams

int PgFdwScanState::numParams

◆ param_exprs

List* PgFdwScanState::param_exprs

Definition at line 145 of file postgres_fdw.c.

Referenced by create_cursor().

◆ param_flinfo

FmgrInfo* PgFdwScanState::param_flinfo

Definition at line 144 of file postgres_fdw.c.

Referenced by create_cursor().

◆ param_values

const char** PgFdwScanState::param_values

Definition at line 146 of file postgres_fdw.c.

Referenced by create_cursor().

◆ query

char* PgFdwScanState::query

◆ rel

◆ retrieved_attrs

◆ temp_cxt

MemoryContext PgFdwScanState::temp_cxt

Definition at line 159 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ tupdesc

◆ tuples

HeapTuple* PgFdwScanState::tuples

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