Re: What is field separator?

From: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
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 05:29:51
Message-ID: C829E8DF.AF45%tsakai@gallo.ucsf.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you, Alvaro.

Literal tab, that's one thing I never tried.
Yes, it works.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

On 5/31/10 8:58 PM, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com> wrote:

> 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dale Gallagher 2010-06-01 11:17:03 Re: Strange behaviour: create database hangs (v 8.4.4)
Previous Message Tena Sakai 2010-06-01 05:27:59 Re: What is field separator?