|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/printsimple.h"#include "catalog/pg_type.h"#include "libpq/pqformat.h"#include "libpq/protocol.h"#include "utils/builtins.h"#include "varatt.h"
Go to the source code of this file.
Functions | |
| void | printsimple_startup (DestReceiver *self, int operation, TupleDesc tupdesc) |
| bool | printsimple (TupleTableSlot *slot, DestReceiver *self) |
| bool printsimple | ( | TupleTableSlot * | slot, |
| DestReceiver * | self | ||
| ) |
Definition at line 60 of file printsimple.c.
References buf, DatumGetInt32(), DatumGetInt64(), DatumGetObjectId(), DatumGetTextPP, elog, ERROR, i, len, MAXINT8LEN, TupleDescData::natts, 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 32 of file printsimple.c.
References buf, i, NameStr, TupleDescData::natts, pq_beginmessage(), pq_endmessage(), pq_sendint16(), pq_sendint32(), pq_sendstring(), PqMsg_RowDescription, and TupleDescAttr().