PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_result Struct Reference

#include <libpq-int.h>

Data Fields

int ntups
 
int numAttributes
 
PGresAttDescattDescs
 
PGresAttValue ** tuples
 
int tupArrSize
 
int numParameters
 
PGresParamDescparamDescs
 
ExecStatusType resultStatus
 
char cmdStatus [CMDSTATUS_LEN]
 
int binary
 
PGNoticeHooks noticeHooks
 
PGEventevents
 
int nEvents
 
int client_encoding
 
charerrMsg
 
PGMessageFielderrFields
 
charerrQuery
 
char null_field [1]
 
PGresult_datacurBlock
 
int curOffset
 
int spaceLeft
 
size_t memorySize
 

Detailed Description

Definition at line 164 of file libpq-int.h.

Field Documentation

◆ attDescs

◆ binary

int pg_result::binary

Definition at line 176 of file libpq-int.h.

Referenced by PQbinaryTuples(), and PQsetResultAttrs().

◆ client_encoding

int pg_result::client_encoding

Definition at line 186 of file libpq-int.h.

Referenced by do_field(), pqBuildErrorMessage3(), and PQcopyResult().

◆ cmdStatus

char pg_result::cmdStatus[CMDSTATUS_LEN]

◆ curBlock

PGresult_data* pg_result::curBlock

Definition at line 205 of file libpq-int.h.

Referenced by PQclear(), and pqResultAlloc().

◆ curOffset

int pg_result::curOffset

Definition at line 206 of file libpq-int.h.

Referenced by pqResultAlloc().

◆ errFields

PGMessageField* pg_result::errFields

Definition at line 194 of file libpq-int.h.

Referenced by pqBuildErrorMessage3(), PQclear(), PQresultErrorField(), and pqSaveMessageField().

◆ errMsg

char* pg_result::errMsg

◆ errQuery

char* pg_result::errQuery

Definition at line 195 of file libpq-int.h.

Referenced by pqBuildErrorMessage3(), and pqGetErrorNotice3().

◆ events

PGEvent* pg_result::events

Definition at line 184 of file libpq-int.h.

Referenced by PQclear(), PQcopyResult(), and PQfireResultCreateEvents().

◆ memorySize

size_t pg_result::memorySize

Definition at line 209 of file libpq-int.h.

Referenced by pqAddTuple(), pqResultAlloc(), and PQresultMemorySize().

◆ nEvents

int pg_result::nEvents

Definition at line 185 of file libpq-int.h.

Referenced by PQclear(), PQcopyResult(), PQfireResultCreateEvents(), and PQgetResult().

◆ noticeHooks

◆ ntups

◆ null_field

char pg_result::null_field[1]

Definition at line 198 of file libpq-int.h.

Referenced by pqResultAlloc(), pqRowProcessor(), PQsetResultAttrs(), and PQsetvalue().

◆ numAttributes

◆ numParameters

int pg_result::numParameters

Definition at line 172 of file libpq-int.h.

Referenced by check_param_number(), and PQnparams().

◆ paramDescs

PGresParamDesc* pg_result::paramDescs

Definition at line 173 of file libpq-int.h.

Referenced by PQclear(), and PQparamtype().

◆ resultStatus

◆ spaceLeft

int pg_result::spaceLeft

Definition at line 207 of file libpq-int.h.

Referenced by pqResultAlloc().

◆ tupArrSize

int pg_result::tupArrSize

Definition at line 171 of file libpq-int.h.

Referenced by pqAddTuple().

◆ tuples

PGresAttValue** pg_result::tuples

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