PostgreSQL Source Code  git master
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
 
char * errMsg
 
PGMessageFielderrFields
 
char * errQuery
 
char null_field [1]
 
PGresult_datacurBlock
 
int curOffset
 
int spaceLeft
 
size_t memorySize
 

Detailed Description

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

Field Documentation

◆ attDescs

◆ binary

int pg_result::binary

◆ client_encoding

int pg_result::client_encoding

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

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

◆ cmdStatus

◆ curBlock

PGresult_data* pg_result::curBlock

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

Referenced by PQclear(), PQmakeEmptyPGresult(), and pqResultAlloc().

◆ curOffset

int pg_result::curOffset

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

Referenced by PQmakeEmptyPGresult(), and pqResultAlloc().

◆ errFields

PGMessageField* pg_result::errFields

◆ errMsg

◆ errQuery

char* pg_result::errQuery

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

Referenced by pqBuildErrorMessage3(), pqGetErrorNotice3(), and PQmakeEmptyPGresult().

◆ events

◆ memorySize

size_t pg_result::memorySize

◆ nEvents

◆ noticeHooks

◆ ntups

int pg_result::ntups

◆ null_field

char pg_result::null_field[1]

◆ numAttributes

◆ numParameters

int pg_result::numParameters

◆ paramDescs

PGresParamDesc* pg_result::paramDescs

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

Referenced by getParamDescriptions(), PQclear(), PQmakeEmptyPGresult(), and PQparamtype().

◆ resultStatus

◆ spaceLeft

int pg_result::spaceLeft

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

Referenced by PQmakeEmptyPGresult(), and pqResultAlloc().

◆ tupArrSize

int pg_result::tupArrSize

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

Referenced by pqAddTuple(), and PQmakeEmptyPGresult().

◆ tuples


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