Re: field separator problem

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Michael Fuhr" <mike(at)fuhr(dot)org>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: field separator problem
Date: 2007-10-04 02:25:04
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C03062CA9@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

many thanks, Michael! I appreciate it.

Regards,

Tena

-----Original Message-----
From: Michael Fuhr [mailto:mike(at)fuhr(dot)org]
Sent: Wed 10/3/2007 5:54 PM
To: Tena Sakai
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] field separator problem

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message yogesh 2007-10-04 09:26:07 Postgres Array Traversing Problem
Previous Message Stephan Szabo 2007-10-04 01:06:22 Re: Why does the sequence skip a number with generate_series?