pg_stat_statements external query text storage

https://commitfest.postgresql.org/action/patch_view?id=1298
http://archives.postgresql.org/message-id/CAM3SWZRbxGA9dGXRe8+RDPmKa7LED75z1LxCEDnbTe7EFLZM6g@mail.gmail.com