Re: What is field separator?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndquadrant(dot)it>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: What is field separator?
Date: 2010-06-01 03:58:59
Message-ID: 1275364687-sup-2201@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tena Sakai 2010-06-01 05:27:59 Re: What is field separator?
Previous Message Greg Smith 2010-06-01 03:07:57 Re: What is field separator?