finagle-postgres icon indicating copy to clipboard operation
finagle-postgres copied to clipboard

Are asynchronous operations supported?

Open vcherkassky opened this issue 12 years ago • 1 comments

http://www.postgresql.org/docs/9.2/static/protocol-flow.html

46.2.6. Asynchronous Operations

There are several cases in which the backend will send messages that are not specifically prompted by the frontend's command stream. Frontends must be prepared to deal with these messages at any time, even when not engaged in a query. At minimum, one should check for these cases before beginning to read a query response.

vcherkassky avatar Nov 12 '12 20:11 vcherkassky

For now NoticeResponse, NotificationResponse and ParameterStatus messages are ignored and printing to output.

mairbek avatar Nov 21 '12 12:11 mairbek