git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 252e652) | patch
Support frontend-backend protocol communication using a shm_mq.
2014年10月31日 16:02:40 +0000 (12:02 -0400)
2014年10月31日 16:02:40 +0000 (12:02 -0400)
commit 2bd9e412f92bc6a68f3e8bcb18e04955cc35001d
Support frontend-backend protocol communication using a shm_mq.

A background worker can use pq_redirect_to_shm_mq() to direct protocol
that would normally be sent to the frontend to a shm_mq so that another
process may read them.

The receiving process may use pq_parse_errornotice() to parse an
ErrorResponse or NoticeResponse from the background worker and, if
it wishes, ThrowErrorData() to propagate the error (with or without
further modification).

Patch by me. Review by Andres Freund.
src/backend/libpq/Makefile diff | blob | blame | history
src/backend/libpq/pqcomm.c diff | blob | blame | history
src/backend/libpq/pqmq.c [new file with mode: 0644] blob
src/backend/utils/adt/numutils.c diff | blob | blame | history
src/backend/utils/error/elog.c diff | blob | blame | history
src/include/libpq/libpq.h diff | blob | blame | history
src/include/libpq/pqmq.h [new file with mode: 0644] blob
src/include/utils/builtins.h diff | blob | blame | history
src/include/utils/elog.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /