Check the pg_input buffer, as well as the socket itself, when looking for pending async notifies -- otherwise we only report the first of a batch of notifies until more data comes along.
Check the pg_input buffer, as well as the socket itself, when looking for
pending async notifies -- otherwise we only report the first of a batch
of notifies until more data comes along.

element-doo/postgresql-jdbc,element-doo/postgresql-jdbc