PostgreSQL Source Code  git master
PgFdwScanState Struct Reference

Data Fields

Relation rel
 
TupleDesc tupdesc
 
AttInMetadataattinmeta
 
char * query
 
Listretrieved_attrs
 
PGconnconn
 
PgFdwConnStateconn_state
 
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
 
bool async_capable
 
MemoryContext batch_cxt
 
MemoryContext temp_cxt
 
int fetch_size
 

Detailed Description

Definition at line 138 of file postgres_fdw.c.

Field Documentation

◆ async_capable

bool PgFdwScanState::async_capable

◆ attinmeta

AttInMetadata* PgFdwScanState::attinmeta

Definition at line 143 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ batch_cxt

MemoryContext PgFdwScanState::batch_cxt

Definition at line 172 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ conn

PGconn* PgFdwScanState::conn

◆ conn_state

PgFdwConnState* PgFdwScanState::conn_state

◆ 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 165 of file postgres_fdw.c.

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

◆ fetch_size

int PgFdwScanState::fetch_size

Definition at line 175 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ next_tuple

int PgFdwScanState::next_tuple

◆ num_tuples

int PgFdwScanState::num_tuples

◆ numParams

int PgFdwScanState::numParams

Definition at line 154 of file postgres_fdw.c.

Referenced by create_cursor().

◆ param_exprs

List* PgFdwScanState::param_exprs

Definition at line 156 of file postgres_fdw.c.

Referenced by create_cursor().

◆ param_flinfo

FmgrInfo* PgFdwScanState::param_flinfo

Definition at line 155 of file postgres_fdw.c.

Referenced by create_cursor().

◆ param_values

const char** PgFdwScanState::param_values

Definition at line 157 of file postgres_fdw.c.

Referenced by create_cursor().

◆ query

char* PgFdwScanState::query

Definition at line 146 of file postgres_fdw.c.

Referenced by create_cursor(), and fetch_more_data().

◆ rel

Relation PgFdwScanState::rel

Definition at line 140 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ retrieved_attrs

List* PgFdwScanState::retrieved_attrs

Definition at line 147 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ temp_cxt

MemoryContext PgFdwScanState::temp_cxt

Definition at line 173 of file postgres_fdw.c.

Referenced by fetch_more_data().

◆ tupdesc

TupleDesc PgFdwScanState::tupdesc

Definition at line 142 of file postgres_fdw.c.

◆ tuples

HeapTuple* PgFdwScanState::tuples

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