X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B027AD1B55D for ; Tue, 16 Sep 2003 18:32:21 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 05513-02 for ; Tue, 16 Sep 2003 15:31:51 -0300 (ADT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 759B1D1B549 for ; Tue, 16 Sep 2003 13:49:31 -0300 (ADT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h8GForZ05050; Tue, 16 Sep 2003 17:50:53 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with SMTP id h8GGguR25681; Tue, 16 Sep 2003 18:42:56 +0200 Message-ID: <02fb01c37c72$75952350$152aa8c0@GMENDOLA2> From: "Mendola Gaetano" To: Cc: "Mauricio de Castro" References: <1E2AC382-E7C3-11D7-A5E9-000A957FF036@tentacle.net> <200309160729.40290.mcastro@solis.coop.br> Subject: Re: Report Generator Proposal Date: Tue, 16 Sep 2003 18:49:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, QUOTED_EMAIL_TEXT, RCVD_IN_ORBS, RCVD_IN_OSIRUSOFT_COM, REFERENCES, REPLY_WITH_QUOTES X-Spam-Level: X-Archive-Number: 200309/275 X-Sequence-Number: 10363 "Mauricio de Castro" wrote: > Report Generator in PHP-GTK that work with Pear-db. It's very easy for > users... I was thinking to generate the report with the psql, not with an external program, somethink like this: Welcome to psql 7.X, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit test=# BEGIN REPORT TO my_report_file; BEGIN REPORT; test=# select * from ........ [SNIPPED RESULT] test=# END REPORT; END REPORT; Regards Gaetano Mendola