pg_stat_statements external query text storage

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