pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedfield separator problem
3+ messages / 2 participants
[nested] [flat]
* field separator problem
@ 2007-10-04 00:13 Tena Sakai <tsakai@gallo.ucsf.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Tena Sakai @ 2007-10-04 00:13 UTC (permalink / raw)
To: pgsql-sql
Hi Everybody,
I am having a problem with field separator. Maybe
someone can assist me.
But first thing firtst: I am running postgresql 8.2.4
on redhat, dell 64 bit machine:
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?
Regards,
Tena Sakai
tsakai@gallo.ucsf.edu
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: field separator problem
@ 2007-10-04 00:54 Michael Fuhr <mike@fuhr.org>
parent: Tena Sakai <tsakai@gallo.ucsf.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Fuhr @ 2007-10-04 00:54 UTC (permalink / raw)
To: Tena Sakai <tsakai@gallo.ucsf.edu>; +Cc: pgsql-sql
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: field separator problem
@ 2007-10-04 02:25 Tena Sakai <tsakai@gallo.ucsf.edu>
parent: Michael Fuhr <mike@fuhr.org>
0 siblings, 0 replies; 3+ messages in thread
From: Tena Sakai @ 2007-10-04 02:25 UTC (permalink / raw)
To: Michael Fuhr <mike@fuhr.org>; +Cc: pgsql-sql
many thanks, Michael! I appreciate it.
Regards,
Tena
-----Original Message-----
From: Michael Fuhr [mailto:mike@fuhr.org]
Sent: Wed 10/3/2007 5:54 PM
To: Tena Sakai
Cc: pgsql-sql@postgresql.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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-10-04 02:25 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-04 00:13 field separator problem Tena Sakai <tsakai@gallo.ucsf.edu>
2007-10-04 00:54 ` Michael Fuhr <mike@fuhr.org>
2007-10-04 02:25 ` Tena Sakai <tsakai@gallo.ucsf.edu>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox