PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | pq_redirect_to_shm_mq (dsm_segment *seg, shm_mq_handle *mqh) |
void | pq_set_parallel_leader (pid_t pid, ProcNumber procNumber) |
void | pq_parse_errornotice (StringInfo msg, ErrorData *edata) |
void pq_parse_errornotice | ( | StringInfo | msg, |
ErrorData * | edata | ||
) |
Definition at line 216 of file pqmq.c.
References ErrorData::assoc_context, ErrorData::column_name, ErrorData::constraint_name, ErrorData::context, CurrentMemoryContext, ErrorData::cursorpos, ErrorData::datatype_name, DEBUG1, ErrorData::detail, ErrorData::elevel, elog, ERROR, FATAL, ErrorData::filename, ErrorData::funcname, ErrorData::hint, INFO, ErrorData::internalpos, ErrorData::internalquery, ErrorData::lineno, LOG, MAKE_SQLSTATE, MemSet, ErrorData::message, NOTICE, PANIC, PG_DIAG_COLUMN_NAME, PG_DIAG_CONSTRAINT_NAME, PG_DIAG_CONTEXT, PG_DIAG_DATATYPE_NAME, PG_DIAG_INTERNAL_POSITION, PG_DIAG_INTERNAL_QUERY, PG_DIAG_MESSAGE_DETAIL, PG_DIAG_MESSAGE_HINT, PG_DIAG_MESSAGE_PRIMARY, PG_DIAG_SCHEMA_NAME, PG_DIAG_SEVERITY, PG_DIAG_SEVERITY_NONLOCALIZED, PG_DIAG_SOURCE_FILE, PG_DIAG_SOURCE_FUNCTION, PG_DIAG_SOURCE_LINE, PG_DIAG_SQLSTATE, PG_DIAG_STATEMENT_POSITION, PG_DIAG_TABLE_NAME, pg_strtoint32(), pq_getmsgbyte(), pq_getmsgend(), pq_getmsgrawstring(), pstrdup(), ErrorData::schema_name, ErrorData::sqlerrcode, ErrorData::table_name, value, and WARNING.
Referenced by HandleParallelApplyMessage(), and HandleParallelMessage().
void pq_redirect_to_shm_mq | ( | dsm_segment * | seg, |
shm_mq_handle * | mqh | ||
) |
Definition at line 53 of file pqmq.c.
References DestRemote, FrontendProtocol, on_dsm_detach(), PG_PROTOCOL_LATEST, pq_cleanup_redirect_to_shm_mq(), pq_mq_handle, PqCommMethods, PqCommMqMethods, and whereToSendOutput.
Referenced by ParallelApplyWorkerMain(), and ParallelWorkerMain().
void pq_set_parallel_leader | ( | pid_t | pid, |
ProcNumber | procNumber | ||
) |
Definition at line 78 of file pqmq.c.
References Assert, pq_mq_parallel_leader_pid, pq_mq_parallel_leader_proc_number, PqCommMethods, and PqCommMqMethods.
Referenced by ParallelApplyWorkerMain(), and ParallelWorkerMain().