Closed
Description
A handler based approach like set_notice_handler
doesn't really make sense here, since the common response to a notification is probably going to be querying for updated data.
Something like libpq's PGnotices
seems like the most straightforward solution, but both blocking and polling options both seem like they'd be useful.