This revives #22 and #73 and adds supports for receiving notices as events in LibPQ.
The event is notice but differently from #22 and #73 it uses PQsetNoticeReceiver and the whole PGResult structure is parsed using PQresultErrorField before being emitted.
This revives #22 and #73 and adds supports for receiving notices as events in LibPQ.
The event is
notice
but differently from #22 and #73 it usesPQsetNoticeReceiver
and the wholePGResult
structure is parsed usingPQresultErrorField
before being emitted.