|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | _DestReceiver |
Typedefs | |
| typedef struct _DestReceiver | DestReceiver |
Enumerations | |
| enum | CommandDest { DestNone , DestDebug , DestRemote , DestRemoteExecute , DestRemoteSimple , DestSPI , DestTuplestore , DestIntoRel , DestCopyOut , DestSQLFunction , DestTransientRel , DestTupleQueue , DestExplainSerialize } |
Functions | |
| void | BeginCommand (CommandTag commandTag, CommandDest dest) |
| DestReceiver * | CreateDestReceiver (CommandDest dest) |
| void | EndCommandExtended (const QueryCompletion *qc, CommandDest dest, bool force_undecorated_output, bool noblock) |
| void | EndCommand (const QueryCompletion *qc, CommandDest dest, bool force_undecorated_output) |
| void | EndReplicationCommand (const char *commandTag) |
| void | NullCommand (CommandDest dest) |
| void | ReadyForQuery (CommandDest dest) |
Variables | |
| PGDLLIMPORT DestReceiver * | None_Receiver |
| typedef struct _DestReceiver DestReceiver |
| Enumerator | |
|---|---|
| DestNone | |
| DestDebug | |
| DestRemote | |
| DestRemoteExecute | |
| DestRemoteSimple | |
| DestSPI | |
| DestTuplestore | |
| DestIntoRel | |
| DestCopyOut | |
| DestSQLFunction | |
| DestTransientRel | |
| DestTupleQueue | |
| DestExplainSerialize | |
Definition at line 85 of file dest.h.
|
extern |
Definition at line 103 of file dest.c.
Referenced by exec_execute_message(), and exec_simple_query().
|
extern |
Definition at line 113 of file dest.c.
References CreateCopyDestReceiver(), CreateExplainSerializeDestReceiver(), CreateIntoRelDestReceiver(), CreateSQLFunctionDestReceiver(), CreateTransientRelDestReceiver(), CreateTupleQueueDestReceiver(), CreateTuplestoreDestReceiver(), debugtupDR, DestCopyOut, DestDebug, DestExplainSerialize, DestIntoRel, DestNone, DestRemote, DestRemoteExecute, DestRemoteSimple, DestSPI, DestSQLFunction, DestTransientRel, DestTupleQueue, DestTuplestore, donothingDR, fb(), InvalidOid, pg_unreachable, printsimpleDR, printtup_create_DR(), spi_printtupDR, and unconstify.
Referenced by _SPI_execute_plan(), BeginCopyTo(), CreateReplicationSlot(), exec_execute_message(), exec_replication_command(), exec_simple_query(), exec_stmt_return_query(), execute_sql_string(), FillPortalStore(), IdentifySystem(), PersistHoldablePortal(), postquel_start(), ReadReplicationSlot(), SendTablespaceList(), SendTimeLineHistory(), SendXlogRecPtrResult(), SPI_cursor_fetch(), SPI_scroll_cursor_fetch(), and StartReplication().
|
extern |
Definition at line 205 of file dest.c.
References EndCommandExtended(), and fb().
Referenced by exec_execute_message(), exec_simple_query(), and StartLogicalReplication().
|
extern |
Definition at line 170 of file dest.c.
References BuildQueryCompletionString(), COMPLETION_TAG_BUFSIZE, DestCopyOut, DestDebug, DestExplainSerialize, DestIntoRel, DestNone, DestRemote, DestRemoteExecute, DestRemoteSimple, DestSPI, DestSQLFunction, DestTransientRel, DestTupleQueue, DestTuplestore, fb(), len, pq_putmessage, pq_putmessage_noblock, and PqMsg_CommandComplete.
Referenced by EndCommand(), WalSndDone(), and WalSndDoneImmediate().
Definition at line 217 of file dest.c.
References fb(), pq_putmessage, and PqMsg_CommandComplete.
Referenced by exec_replication_command(), and StartReplication().
|
extern |
Definition at line 230 of file dest.c.
References DestCopyOut, DestDebug, DestExplainSerialize, DestIntoRel, DestNone, DestRemote, DestRemoteExecute, DestRemoteSimple, DestSPI, DestSQLFunction, DestTransientRel, DestTupleQueue, DestTuplestore, pq_putemptymessage(), and PqMsg_EmptyQueryResponse.
Referenced by exec_execute_message(), and exec_simple_query().
|
extern |
Definition at line 268 of file dest.c.
References buf, DestCopyOut, DestDebug, DestExplainSerialize, DestIntoRel, DestNone, DestRemote, DestRemoteExecute, DestRemoteSimple, DestSPI, DestSQLFunction, DestTransientRel, DestTupleQueue, DestTuplestore, pq_beginmessage(), pq_endmessage(), pq_flush, pq_sendbyte(), PqMsg_ReadyForQuery, and TransactionBlockStatusCode().
Referenced by PostgresMain().
|
extern |
Definition at line 96 of file dest.c.
Referenced by CreateSchemaCommand(), DoPortalRunFetch(), ExplainOnePlan(), FillPortalStore(), ImportForeignSchema(), PerformPortalFetch(), PortalRunMulti(), PortalStart(), postquel_start(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), SPI_cursor_move(), and SPI_scroll_cursor_move().