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 170 of file libpq-int.h.

Field Documentation

◆ attDescs

◆ binary

int pg_result::binary

◆ client_encoding

int pg_result::client_encoding

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

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

◆ cmdStatus

char pg_result::cmdStatus[CMDSTATUS_LEN]

◆ curBlock

PGresult_data* pg_result::curBlock

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

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

◆ curOffset

int pg_result::curOffset

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

Referenced by PQmakeEmptyPGresult(), and pqResultAlloc().

◆ errFields

PGMessageField* pg_result::errFields

◆ errMsg

◆ errQuery

char* pg_result::errQuery

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

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

◆ events

◆ memorySize

size_t pg_result::memorySize

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

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

◆ 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 179 of file libpq-int.h.

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

◆ resultStatus

◆ spaceLeft

int pg_result::spaceLeft

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

Referenced by PQmakeEmptyPGresult(), and pqResultAlloc().

◆ tupArrSize

int pg_result::tupArrSize

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

Referenced by pqAddTuple(), and PQmakeEmptyPGresult().

◆ tuples


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