Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 3849D9FA68F for ; Wed, 3 Oct 2007 21:54:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 29524-01 for ; Wed, 3 Oct 2007 21:54:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id B50879F9ABA for ; Wed, 3 Oct 2007 21:54:16 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id l940sAmK056193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Oct 2007 18:54:13 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.14.1/8.14.1) with ESMTP id l940sA9V065992; Wed, 3 Oct 2007 18:54:10 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.14.1/8.14.1/Submit) id l940sAvM065991; Wed, 3 Oct 2007 18:54:10 -0600 (MDT) (envelope-from mfuhr) Date: Wed, 3 Oct 2007 18:54:10 -0600 From: Michael Fuhr To: Tena Sakai Cc: pgsql-sql@postgresql.org Subject: Re: field separator problem Message-ID: <20071004005409.GA65942@winnie.fuhr.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/18 X-Sequence-Number: 29390 On Wed, Oct 03, 2007 at 05:13:48PM -0700, Tena Sakai wrote: > I issue from psql \f (or "\pset fieldsep ','") and > psql appears to accept what I want: > > canon=# \f ',' > Field separator is ",". > > canon is the name of database, but when I issue a select > command, it still uses '|' as separator. What am I > doing wront? fieldsep applies only to unaligned mode (\a or \pset format unaligned). -- Michael Fuhr