PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pqmq.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * pqmq.h
4 * Use the frontend/backend protocol for communication over a shm_mq
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * src/include/libpq/pqmq.h
10 *
11 *-------------------------------------------------------------------------
12 */
13#ifndef PQMQ_H
14#define PQMQ_H
15
16#include "lib/stringinfo.h"
17#include "storage/shm_mq.h"
18
19extern void pq_redirect_to_shm_mq(dsm_segment *seg, shm_mq_handle *mqh);
20extern void pq_set_parallel_leader(pid_t pid, ProcNumber procNumber);
21
22extern void pq_parse_errornotice(StringInfo msg, ErrorData *edata);
23
24#endif /* PQMQ_H */
void pq_set_parallel_leader(pid_t pid, ProcNumber procNumber)
Definition: pqmq.c:78
void pq_parse_errornotice(StringInfo msg, ErrorData *edata)
Definition: pqmq.c:216
void pq_redirect_to_shm_mq(dsm_segment *seg, shm_mq_handle *mqh)
Definition: pqmq.c:53
int ProcNumber
Definition: procnumber.h:24