1 /*------------------------------------------------------------------------- 2 * 3 * pqmq.h 4 * Use the frontend/backend protocol for communication over a shm_mq 5 * 6 * Portions Copyright (c) 1996-2018, 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_master(pid_t pid, BackendId backend_id); 21 22 extern void pq_parse_errornotice(StringInfo str, ErrorData *edata); 23 24 #endif /* PQMQ_H */ 25