It looks like pq_putmessage_hook and pq_flush_hook were meant fordevelopment purpose and not supposed to be committed.
Attached patch remove them.
-- Julien Rouhaudhttp://dalibo.com - http://dalibo.org