psql can issue pipeline queries using the commands \startpipeline, \syncpipeline, \sendpipeline, \endpipeline, \flushrequest, \flush, and \getresults.
\startpipeline
\syncpipeline
\sendpipeline
\endpipeline
\flushrequest
\flush
\getresults