Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3BCF99FA2EC for ; Sun, 24 Dec 2006 07:28:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 60891-04 for ; Sun, 24 Dec 2006 07:28:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 5BD349FA28E for ; Sun, 24 Dec 2006 07:28:10 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-100-202.bk7-dsl.surnet.cl [200.126.100.202]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id kBOBS7vF023649; Sun, 24 Dec 2006 03:28:08 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id ACDC8329C8; Sun, 24 Dec 2006 08:28:06 -0300 (CLST) Date: Sun, 24 Dec 2006 08:28:06 -0300 From: Alvaro Herrera To: Rajesh Kumar Mallah Cc: Lista Postgres Subject: Re: psql does not save contents into file at end of command. Message-ID: <20061224112806.GC16764@alvh.no-ip.org> Mail-Followup-To: Rajesh Kumar Mallah , Lista Postgres References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Sun, 24 Dec 2006 03:28:08 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/317 X-Sequence-Number: 24109 Rajesh Kumar Mallah wrote: > Hi, > > this is psql8.2 client and server. > > tradein_clients=> \o db.lst > tradein_clients=> \l (till this point, there is nothing in file db.lst) > tradein_clients=> \q (now it saves) (also saves if another \o is issued) > > Dunno till what extent this behavior is justified. Maybe it is writing, just not fflushing? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.