Re: What is field separator? - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: What is field separator?
Date
Msg-id 1275364687-sup-2201@alvh.no-ip.org
Whole thread Raw
In response to Re: What is field separator?  (Tena Sakai <tsakai@gallo.ucsf.edu>)
Responses Re: What is field separator?  (Tena Sakai <tsakai@gallo.ucsf.edu>)
List pgsql-admin
Excerpts from Tena Sakai's message of lun may 31 21:36:41 -0400 2010:

> But when I do this:
>   $ echo "select marker, p, afreq from gallo.fbat_sdsdecode limit 10" | \
>  > psql -P 'format=unaligned' -P 'fieldsep=\t' -t -f - musket
> (here the only change from the previous is the specification of fieldsep)
> Then I get:
>   RS3094315\t0.578121\t0.735

Use a literal tab.  You can enter this in decent shells with Ctrl-V followed by a tab.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-admin by date:

Previous
From: Greg Smith
Date:
Subject: Re: What is field separator?
Next
From: Tena Sakai
Date:
Subject: Re: What is field separator?