How to create crude report with psql and/or plpgsql

Jean-Luc Lachance <jllachan@nsd.ca>

From: Jean-Luc Lachance <jllachan@nsd.ca>
To: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Date: 2002-03-19T18:07:58Z
Lists: pgsql-general, pgsql-sql
Hi all,

I did not find any kind of print statement in psql or plpgsql.
So, how can I create basic report with psql and/or plpgsql?
Nothing fancy, page header/footer sub-totals per page.

JLL