Received: from beamish.nsd.ca (unknown [205.150.156.194]) by postgresql.org (Postfix) with ESMTP id 89AEC475964; Tue, 19 Mar 2002 13:04:30 -0500 (EST) Received: (from smap@localhost) by beamish.nsd.ca (8.9.3/8.9.3) id NAA03337; Tue, 19 Mar 2002 13:04:29 -0500 X-Authentication-Warning: beamish.nsd.ca: smap set sender to using -f Received: from reddog.nsd.ca(192.168.101.30) by beamish.nsd.ca via smap (V2.1/2.1+anti-relay+anti-spam) id xma003335; Tue, 19 Mar 02 13:04:15 -0500 Received: from nsd.ca (jllachan-linux.nsd.ca [192.168.101.148]) by reddog.nsd.ca (8.8.7/8.8.7) with ESMTP id NAA04106; Tue, 19 Mar 2002 13:08:11 -0500 Message-ID: <3C977E7E.D2EC1CF0@nsd.ca> Date: Tue, 19 Mar 2002 13:07:58 -0500 From: Jean-Luc Lachance X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Cc: pgsql-general@postgresql.org Subject: How to create crude report with psql and/or plpgsql References: <2266D0630E43BB4290742247C89105758DCAB6@dozer.computec.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/946 X-Sequence-Number: 22315 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