On Thu, Oct 22, 2015 at 7:05 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:
> I think it's already true that the previous lines of the query buffer > are stashed somewhere that psql knows about, Just skimming but: """ \p or \print Print the current query buffer to the standard output. """ http://www.postgresql.org/docs/9.4/interactive/app-psql.html David J.