Received: from mta2-rme.xtra.co.nz (mta2-rme.xtra.co.nz [203.96.92.3]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0P5Vvq10747 for ; Thu, 25 Jan 2001 00:31:58 -0500 (EST) (envelope-from csawtell@xtra.co.nz) Received: from berty ([210.55.151.253]) by mta2-rme.xtra.co.nz with SMTP id <20010125053155.RNDM12791855.mta2-rme.xtra.co.nz@berty>; Thu, 25 Jan 2001 18:31:55 +1300 Content-Type: text/plain; charset="iso-8859-1" From: Christopher Sawtell Organization: At Home To: "" , pgsql-sql@postgresql.org Subject: Re: SQL Query Results Date: Thu, 25 Jan 2001 18:37:58 +1300 X-Mailer: KMail [version 1.2] References: <94lngg$258t$1@news.tht.net> In-Reply-To: <94lngg$258t$1@news.tht.net> MIME-Version: 1.0 Message-Id: <01012518375801.32491@berty> Content-Transfer-Encoding: 8bit X-Archive-Number: 200101/349 X-Sequence-Number: 1022 On Wed, 24 Jan 2001 18:02, wrote: > I want to show a certain person the commands I type and the query results, > and I want to save them in a file. I tried \e filename and \E filename and > its not working. Can someone please help me?? I don't know if this is available on your particular machine but you could try using the 'script' command just before you start psql. When you have done that which you wish the "certain person" to see, exit psql in the normal way with a '\q', and then exit the script command with an 'exit' man script for the full details. have fun. -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ xtra . co . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -->> Please refrain from using HTML or WORD attachments in e-mails to me <<--