Re: psql -F <TAB>

From: T E Schmitz <mailreg(at)numerixtechnology(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: psql -F <TAB>
Date: 2006-11-16 15:36:03
Message-ID: 455C8563.9030207@numerixtechnology.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Joe Conway wrote:
> T E Schmitz wrote:
>
>> Alvaro Herrera wrote:
>>
>>> T E Schmitz wrote:
>>>
>>>> I have written a shell script to export data:
>>>>
>>>> psql -A -t -U $DBUSER -d $DB -c "$QUERY" -F ' '
>>>>
>>>> How can I specify a TAB character with the -F option?
>
> Try:
> psql -A -t -U $DBUSER -d $DB -c "$QUERY" -F $'\t'

You're a star - that does the trick!

Regards,

Tarlika Elisabeth Schmitz

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Judith 2006-11-16 16:14:07 Question about time
Previous Message Ezequias Rodrigues da Rocha 2006-11-16 14:54:02 Apoie o estudo das células tronco