pg_stat_statements external query text storage

https://commitfest.postgresql.org/action/patch_view?id=1298
http://archives.postgresql.org/message-id/CAM3SWZSVFf-vBNC8sc-0CpWZxVQH49REYBcHb95t95fcrGSa6A@mail.gmail.com