PostgreSQL Source Code
git master
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-2024, 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
19
extern
void
pq_redirect_to_shm_mq
(
dsm_segment
*seg,
shm_mq_handle
*mqh);
20
extern
void
pq_set_parallel_leader
(pid_t pid,
ProcNumber
procNumber);
21
22
extern
void
pq_parse_errornotice
(
StringInfo
msg,
ErrorData
*edata);
23
24
#endif
/* PQMQ_H */
pq_set_parallel_leader
void pq_set_parallel_leader(pid_t pid, ProcNumber procNumber)
Definition:
pqmq.c:78
pq_parse_errornotice
void pq_parse_errornotice(StringInfo msg, ErrorData *edata)
Definition:
pqmq.c:216
pq_redirect_to_shm_mq
void pq_redirect_to_shm_mq(dsm_segment *seg, shm_mq_handle *mqh)
Definition:
pqmq.c:53
ProcNumber
int ProcNumber
Definition:
procnumber.h:24
shm_mq.h
stringinfo.h
ErrorData
Definition:
elog.h:428
StringInfoData
Definition:
stringinfo.h:47
dsm_segment
Definition:
dsm.c:67
shm_mq_handle
Definition:
shm_mq.c:138
src
include
libpq
pqmq.h
Generated on Tue Oct 15 2024 12:13:24 for PostgreSQL Source Code by
1.9.1