Reduce nesting in message loops
Reduce nesting in message loops

silviucm/pgx,rsto/pgx,plopik/pgx,silviucm/pgx,plopik/pgx,plopik/pgx,jackc/pgx,jackc/pgx,josephglanville/pgx,jackc/pgx,deoxxa/pgx,jonasi/pgx,jackc/pgx,kelvich/pgx,silviucm/pgx