pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: Gabriele Bartolini <gabriele.bartolini@2ndquadrant.it>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: What is field separator?
Date: Mon, 31 May 2010 23:58:59 -0400
Message-ID: <1275364687-sup-2201@alvh.no-ip.org> (raw)
In-Reply-To: <C829B239.AF3B%tsakai@gallo.ucsf.edu>
References: <C829B239.AF3B%tsakai@gallo.ucsf.edu>

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



view thread (10+ messages)  latest in thread

Message-ID: <1275364687-sup-2201@alvh.no-ip.org>
Permalink:  ../1275364687-sup-2201@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1275364687-sup-2201@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, tsakai@gallo.ucsf.edu, gabriele.bartolini@2ndquadrant.it
  Subject: Re: What is field separator?
  In-Reply-To: <1275364687-sup-2201@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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