PostgreSQL Source Code
git master
|
#include "tcop/dest.h"
Go to the source code of this file.
Functions | |
bool | printsimple (TupleTableSlot *slot, DestReceiver *self) |
void | printsimple_startup (DestReceiver *self, int operation, TupleDesc tupdesc) |
bool printsimple | ( | TupleTableSlot * | slot, |
DestReceiver * | self | ||
) |
Definition at line 59 of file printsimple.c.
References buf, DatumGetInt32(), DatumGetInt64(), DatumGetTextPP, elog, ERROR, i, len, MAXINT8LEN, TupleDescData::natts, ObjectIdGetDatum(), pg_lltoa(), pg_ltoa(), pg_ultoa_n(), pq_beginmessage(), pq_endmessage(), pq_sendcountedtext(), pq_sendint16(), pq_sendint32(), PqMsg_DataRow, slot_getallattrs(), str, TupleTableSlot::tts_isnull, TupleTableSlot::tts_tupleDescriptor, TupleTableSlot::tts_values, TupleDescAttr, value, VARDATA_ANY, and VARSIZE_ANY_EXHDR.
void printsimple_startup | ( | DestReceiver * | self, |
int | operation, | ||
TupleDesc | tupdesc | ||
) |
Definition at line 31 of file printsimple.c.
References buf, i, NameStr, TupleDescData::natts, pq_beginmessage(), pq_endmessage(), pq_sendint16(), pq_sendint32(), pq_sendstring(), PqMsg_RowDescription, and TupleDescAttr.